what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"

Answer Posted / bhavani

=>output will be:2,whatever you enter value for a.
=>because scanf is a library fn which will return how many
arguements it processes, and first value

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ATM machine and railway reservation class/object diagram

4982


What is wrong with this initialization?

752


What is the role of && operator in a program code?

780


Why clrscr is used after variable declaration?

1294


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

839


What is the purpose of void in c?

777


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1929


What's a good way to check for "close enough" floating-point equality?

827


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

2822


Compare and contrast compilers from interpreters.

885


What are the disadvantages of a shell structure?

924


What type is sizeof?

780


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

852


Why we write conio h in c?

747


What is return in c programming?

697