C language interview questions solution for freshers beginners placement tricky good pointers answers explanation operators data types arrays structures functions recursion preprocessors looping file handling strings switch case if else printf advance linux objective mcq faq online written test prime numbers Armstrong Fibonacci series factorial palindrome code programs examples on c++ tutorials and pdf
#include int main() { int basis; int height; int area; area =1/2*basis*height; printf("Enter value for basis:\n"); scanf("%d",basis); printf("Enter value for height :\n"); scanf("%d",height); printf("Area"); printf("\n area : %d",area); return 0;
}
wot about this one... help me because iam a beginner to the C
2 comments:
It's cool n 100% working.. great idea.. thanks
#include
int main()
{
int basis;
int height;
int area;
area =1/2*basis*height;
printf("Enter value for basis:\n");
scanf("%d",basis);
printf("Enter value for height :\n");
scanf("%d",height);
printf("Area");
printf("\n area : %d",area);
return 0;
}
wot about this one... help me because iam a beginner to the C
Post a Comment