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

Answer Posted / praveen

No, The output will not be 2......The exact output is "It
will take the garbage value"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you think of a logic behind the game minesweeper.

2100


What is a function simple definition?

726


What is c language and why we use it?

701


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4657


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

15732






Write a code on reverse string and its complexity.

681


Which programming language is best for getting job 2020?

688


What happens if you free a pointer twice?

695


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

799


When should a type cast be used?

656


Can a pointer be null?

651


How can I sort a linked list?

718


What is meant by initialization and how we initialize a variable?

678


What are the types of type qualifiers in c?

740


Explain the advantages of using macro in c language?

665