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

In which layer of the network datastructure format change is done

1522


any "C" function by default returns an a) int value b) float value c) char value d) a & b

756


Why malloc is faster than calloc?

683


What is the difference between text and binary i/o?

665


How do we make a global variable accessible across files? Explain the extern keyword?

1512






What are unions in c?

668


Explain why C language is procedural?

857


What is wild pointer in c?

714


Does * p ++ increment p or what it points to?

731


How to delete a node from linked list w/o using collectons?

2182


what will be maximum number of comparisons when number of elements are given?

1524


What is the use of header files?

694


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1209


What are volatile variables in c?

608


What is the difference between near, far and huge pointers?

700