What is a volatile keyword in c?
No Answer is Posted For this Question
Be the First to Post Answer
What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }
cavium networks written test pattern ..
main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Write a program to generate the Fibinocci Series
pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?
2 Answers eClerx, Excel, kenexa,
The variables are int sum=10,SuM=20; these are same or different?
Explain Doubly Linked Lists?
Why pointers are used?
What are global variables and how do you declare them?
What does %2f mean in c?