Tell me when would you use a pointer to a function?
No Answer is Posted For this Question
Be the First to Post Answer
What is indirection? How many levels of pointers can you have?
int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?
What are the commands should be given before weiting C Program i.e, Cd.. like
4 Answers IBM, Infonet, Satyam, Tech Mahindra,
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
Differentiate call by value and call by reference?
Why do some versions of toupper act strangely if given an upper-case letter?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }
main() { char p[] = "hello world!"; p = "vector"; printf("%s",p); }
2 Answers Vector, Vector India,
What is the usage of the pointer in c?
How do you list files in a directory?