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


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

Answers were Sorted based on User's Feedback



void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }..

Answer / jack

4

Is This Answer Correct ?    4 Yes 3 No

void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }..

Answer / sanjay bk

8400,8521, when you run program then program giving output is different different answer.

Is This Answer Correct ?    2 Yes 2 No

void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }..

Answer / govind_srm

858993456

Is This Answer Correct ?    1 Yes 3 No

void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }..

Answer / l09

8

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Code Interview Questions

How will you print % character? a. printf(“\%”) b. printf(“\\%”) c. printf(“%%”) d. printf(“\%%”)

4 Answers   HCL,


what is oop?

3 Answers  


Design an implement of the inputs functions for event mode

0 Answers   Wipro,


void main() { while(1){ if(printf("%d",printf("%d"))) break; else continue; } }

1 Answers  


main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }

1 Answers  


Write a routine that prints out a 2-D array in spiral order

3 Answers   Microsoft,


#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??

1 Answers  


Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.

21 Answers   ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,


void pascal f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } void cdecl f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } main() { int i=10; f(i++,i++,i++); printf(" %d\n",i); i=10; f(i++,i++,i++); printf(" %d",i); }

1 Answers  


main() { extern int i; i=20; printf("%d",sizeof(i)); }

2 Answers  


Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector

2 Answers  


How will u find whether a linked list has a loop or not?

8 Answers   Microsoft,


Categories