what is the output of
printf("%d",(scanf("%d",10));
Answer Posted / ravinder singh rawat
scanf returns nos. of arguments taken by scanf hence it
will ask user to input and if integer is fed as I/P then
printf gives 1 as o/p
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
How can I write a function that takes a format string and a variable number of arguments?
What is scope rule in c?
What are the 3 types of structures?
Define the scope of static variables.
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is the purpose of macro in C language?
why wipro wase
What is meant by gets in c?
Which is best linux os?
What is the explanation for cyclic nature of data types in c?
Whats s or c mean?
When should the const modifier be used?
Can we use visual studio for c?