What is define directive?
No Answer is Posted For this Question
Be the First to Post Answer
void main() { int i=5; printf("%d",i+++++i); }
How do you define CONSTANT in C?
how can f be used for both float and double arguments in printf? Are not they different types?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
Where is c used?
write a string copy function routine?
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value
How would you print out the data in a binary tree, level by level, starting at the top?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }