main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is:
a) Variable 'str' is not initialised
b) Format control for a string is not %s
c) Parameter to scanf is passed by value. It should be an address
d) none
why should i select you?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
0 Answers Aegis, CDAC, Infosys,
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is the use of function overloading in C?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
How can I handle floating-point exceptions gracefully?
What are the advantages and disadvantages of pointers?
Can a file other than a .h file be included with #include?
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
what is the diference between pointer to the function and function to the pointer?
What is the general form of #line preprocessor?
In how much time you will write this c program? Prime nos from 1 to 1000