const int perplexed = 2;
#define perplexed 3
main()
{
#ifdef perplexed
#undef perplexed
#define perplexed 4
#endif
printf("%d",perplexed);
}
a. 0
b. 2
c. 4
d. none of the above
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
Give a one-line C expression to test whether a number is a power of 2.
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d !\n ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); }
Extend the sutherland-hodgman clipping algorithm to clip three-dimensional planes against a regular paralleiepiped
how can i cast a char type array to an int type array
hello sir,is there any function in C that can calculate number of digits in an int type variable,suppose:int a=123; 3 digits in a.what ll b answer?
Write a Program that Inputs 10 Numbers in an Array and Show the Maximum Number
plz tell me the solution.......... in c language program guess any one number from 1 to 50 and tell that number within 8 asking question in yes or no...............
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
String copy logic in one line.
char *someFun() { char *temp = “string constant"; return temp; } int main() { puts(someFun()); }