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...


main()
{
int i=400,j=300;
printf("%d..%d");
}

Answers were Sorted based on User's Feedback



main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / khaja

it prints bcoz no i,j values are mentioned.

Is This Answer Correct ?    0 Yes 2 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / muthu

It prints only garbage value, since the variables x and y
were not metioned out side the bracket

Is This Answer Correct ?    0 Yes 3 No

main() { int i=400,j=300; printf("%d..%d"); } ..

Answer / suresh reddy

Answer:

400 300

printf takes first two intilization values as default

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C Interview Questions

Explain what are bus errors, memory faults, and core dumps?

0 Answers  


what is memory leak?

3 Answers  


1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1

4 Answers  


What is structure in c language?

0 Answers  


#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 Answers  


what are the static variables

8 Answers   HCL, iFlex, TCS, Wipro,


What is the difference between union and structure in c?

0 Answers  


How do we print only part of a string in c?

0 Answers  


What is union and structure?

0 Answers  


What is abstract data structure in c?

0 Answers  


I need a sort of an approximate strcmp routine?

0 Answers  


how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.

3 Answers  


Categories