1 votes 1 votes Please tell the output with explanation! #include<stdio.h> int main() { int a,b; printf("%d ",12); printf("%d ",143); printf("%d ",scanf("%d%d",&a,&b)); } Sanyam Lakhanpal asked Jul 18, 2017 Sanyam Lakhanpal 445 views answer comment Share Follow See 1 comment See all 1 1 comment reply Hemant Parihar commented Jul 18, 2017 reply Follow Share On successfully read, scanf return the no. of the successful read. you can see this: http://www.geeksforgeeks.org/g-fact-10/ 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes The output would be : 12 143 and 2 (the no of integers read). saxena0612 answered Jul 18, 2017 saxena0612 comment Share Follow See 1 comment See all 1 1 comment reply Sanyam Lakhanpal commented Jul 20, 2017 reply Follow Share Thanks! :) 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes I think Right answer is 12143 .... alokraj1142 answered Jul 18, 2017 alokraj1142 comment Share Follow See all 0 reply Please log in or register to add a comment.