Any new ideas or suggestions that make this blog more help full for us are encouraged .
You can mail to me my id srinivasmyla1592@gmail.com
blog4cse
Sunday, January 2, 2011
Saturday, January 1, 2011
Wednesday, December 29, 2010
C progams
1:#include<stdio.h>
#define sq(x) (x*x)
void main()
{
int a,b=3;
a=sq(b+2);
printf("%d\n",a);
}
1:25
2:11
3:error
4:garbage valueANSWER :
2.11
3:#include<stdio.h>
void main()
{
int x,y;
if(30>20)?x=10:(y=20);
printf("%d %d\n",x,y);
}
1:X=10
2:Y=20
3:EXPRESSION SYNTAX
4:NONEanswer:
3:EXPRESSION SYNTAX
Subscribe to:
Comments (Atom)