int main()
{
int i=-1,j=-1;k=0,l=2,m;
m=i++&&j++&&k++||l++;
printf("%d%d%d%d%d",i,j,k,l,m);
}
Answers were Sorted based on User's Feedback
Answer / nithya
undefined symbol 'k'
undefined symbol 'l'
undefined symbol 'm'
in the above program in the line will be change from ; to ,
int i=-1,j=-1,k=0,l=2,m;
the out put is
00131
Is This Answer Correct ? | 4 Yes | 1 No |
Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }
what is the use of bitfields & where do we use them?
What does a pointer variable always consist of?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
write a program to swap two numbers without using temporary variable?
What is the concatenation operator?
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,
Differentiate between the expression “++a” and “a++”?
biggest of two no's with out using if condition statement
What is the difference between constant pointer and pointer to a constant. Give examples.
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
what is array?