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
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?
1 232 34543 4567654 can anyone tell me how to slove this c question
what is the code to display color fonts in the output?
Can the sizeof operator be used to tell the size of an array passed to a function?
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
how to find turn around time in operating system?
what r callback function?
Subtract Two Number Without Using Subtraction Operator
Difference between for loop and while loop?
How can type-insensitive macros be created?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
write a addition of two no. program with out using printf,scanf,puts .