what is the output of
printf("%d",(scanf("%d",10));

Answer Posted / kalyan chukka

Answer is 1 Because it prints how many values taken from
keyboard so it prints 1

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to generate address labels using structures?

3996


Why array is used in c?

547


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

588


Where define directive used?

596


What is static memory allocation? Explain

625






Explain what is the use of a semicolon (;) at the end of every program statement?

721


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

760


How do you write a program which produces its own source code as output?

599


What is the difference between int main and void main?

563


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

658


What are the two forms of #include directive?

633


Is a house a mass structure?

635


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1487


What are the three constants used in c?

536


can we implement multi-threads in c.

653