Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}

Answer Posted / vantees

First of all, we need to give two integer number as input.Since scanf return the no of arguments passed to it, except format specifier.So out is: 2,unknown value

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the meaning of keyword 'extern' in a function declaration.

1125


Are global variables static in c?

1116


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1159


Explain is it better to bitshift a value than to multiply by 2?

1146


What is boolean in c?

1044


What is the general form of function in c?

981


What are control structures? What are the different types?

1047


Why c is called a mid level programming language?

1035


what are non standard function in c

1863


Write a program to print ASCII code for a given digit.

1051


Are there constructors in c?

975


Explain indirection?

1071


Define and explain about ! Operator?

966


What is the difference between abs() and fabs() functions?

1070


What is a scope resolution operator in c?

1213