what is the output of
printf("%d",(scanf("%d",10));
Answer Posted / kamal
scanf() returns integer value for number sucessful entry taken.
Due to this cause of taking integer value at address 10 it
will print 1 otherwise 0;
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Where are the auto variables stored?
Explain the difference between null pointer and void pointer.
What is omp_num_threads?
What do you mean by command line argument?
What is a header file?
Explain pointers in c programming?
How can I do graphics in c?
What are the ways to a null pointer can use in c programming language?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
In C programming, how do you insert quote characters (‘ and “) into the output screen?
What's the difference between constant char *p and char * constant p?
How will you find a duplicate number in a array without negating the nos ?
When is a “switch” statement preferable over an “if” statement?
How to draw the flowchart for structure programs?
How can you be sure that a program follows the ANSI C standard?