What is the difference between malloc() and calloc() function in c language?
No Answer is Posted For this Question
Be the First to Post Answer
What is the usage of the pointer in c?
out put of printf(“%d”,printf(ram));
A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
What is unary operator?
what are the stages of compilation
For what purpose null pointer used?
What are shell structures used for?
What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
What is a constant?
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
Write a pro-gramme to determine whether the number is even or odd?
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);