WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

C Language online Test

wat does a represent if it is declared as

int **a[2][1];


main()

{

int x=20,y=35;

x=y++ + x++;

y= ++y + ++x;

printf(“%d%dn”,x,y);

}


#define swap(a,b) a=a+b;b=a-b;a=a-b;

void main()

{

int x=5, y=10;

swap (x,y);

printf(“%d %dn”,x,y);

swap2(x,y);

printf(“%d %dn”,x,y);

}

int swap2(int a, int b)

{

int temp;

temp=a;

b=a;

a=temp;

return 0;

}


void main()

{ int a=20, b=40, c=10;

a=a+b-c+10;

b+=2;

C=+5;

printf("%d %d %d ", a , b , c);

return ;

}


if a declararioin is made as

main()

{

int a[2][2];

printf(" i m proud to be a pecobian");

}

/* here a refers to*/
















































Comments
Vinnu
By: Vinnu
829 days 21 hours 25 minutes ago

its not dat tough..... if u noe the basics , u can easily crack it and get 5 on 5

chandra kiran
By: chandra kiran
752 days 22 hours 23 minutes ago

good questions

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
1 Follower
Test: 1

Your Facebook Friends on WizIQ