int a=0,b=2;
if (a=0)
b=0;
else
b=*10;
What is the value of b ?
Answer Posted / kishore sharma
a=0;
b=2;
but
condition
if(a=0)(b=0)
so
b=*10;
answer is
b=b*10 (b=0)
b=0*10;
0
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is string in c language?
State the difference between x3 and x[3].
What is getche() function?
Explain Basic concepts of C language?
Which is the memory area not included in C program? give the reason
What is unary operator?
What does != Mean in c?
What are different types of pointers?
How will you divide two numbers in a MACRO?
What is null pointer constant?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
How many loops are there in c?
Why c language?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }