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
No Answer is Posted For this Question
Be the First to Post Answer
What are the string functions? List some string functions available in c.
What are the 3 types of structures?
write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix
write the program for maximum of the following numbers? 122,198,290,71,143,325,98
what is the use of fflush() function?
What is type qualifiers?
Explain output of printf("Hello World"-'A'+'B'); ?
write a program to generate 1st n fibonacci prime number
How to add two numbers without using semicolon n c????
what is c language?
Can i use “int” data type to store the value 32768? Why?
How we can set and clear bit in a byte using macro function?