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()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Answer Posted / nithya

output:

undefined symbol 'intx'
undefined symbol 'y'
undefined symbol 'z'
syntax error 'printf(%d",x)'

the above code will be change

main()
{
int x=2,y=6,z=6;
x=y=z;
printf("%d",x);
}

output:

warning error:y assign value not used

6

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program for finding factorial of a number.

1089


What is scope and lifetime of a variable in c?

1074


what is stack , heap ,code segment,and data segment

2700


What are the types of pointers?

1117


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

2060


What is sizeof array in c?

1062


What is int main () in c?

1091


What is pointer & why it is used?

1122


Do you have any idea about the use of "auto" keyword?

1090


what are enumerations in C

1163


What is the difference between the expression “++a” and “a++”?

1234


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1158


Is null always defined as 0(zero)?

1116


Can a pointer point to null?

1069


Why doesnt long int work?

1044