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 will the code below print when it is executed?
  int x = 3, y = 4;

        if (x = 4)
                y = 5;
        else
                y = 2;

        printf ("x=%d, y=%d
",x,y);


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What are the disadvantages of c language?

0 Answers  


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

0 Answers   Microsoft,


Create a simple code fragment that will swap the values of two variables num1 and num2.

0 Answers  


write a program to find the given number is prime or not

2 Answers   Accenture, Vasutech,


how should functions be apportioned among source files?

0 Answers  


int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

6 Answers   HCL, Octal, SW,


write a program to find the frequency of a number

4 Answers   Infosys,


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is c standard library?

0 Answers  


What are global variables and how do you declare them?

0 Answers  


What do you mean by c?

1 Answers  


In C programming, how do you insert quote characters (‘ and “) into the output screen?

0 Answers  


Categories