Explain what are the different file extensions involved when programming in c?
No Answer is Posted For this Question
Be the First to Post Answer
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 the meaning of ?
How can you return multiple values from a function?
how to create duplicate link list using C???
Is it fine to write void main () or main () in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Explain following declaration int *P(void); and int (*p)(char *a);
What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
21 Answers ADITI, Student, TCS,
What is difference between class and structure?
Explain what is wrong in this statement?
Explain how do you determine whether to use a stream function or a low-level function?
#include<std.h> int main() { char *str[]={"Frogs","Do","Not","Die","They","Croak!"}; printf("%d %d\n",sizeof(str),strlen(str)); ...return 0; } what will the output of the above program?