main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
what is the output?
Answer Posted / padmarao
5 20 1
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
Which is better between malloc and calloc?
Explain zero based addressing.
What is multidimensional arrays
how to execute a program using if else condition and the output should enter number and the number is odd only...
Why header file is used in c?
Which is better pointer or array?
What do you understand by friend-functions? How are they used?
Write a program of advanced Fibonacci series.
What does static variable mean in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
int i=10; printf("%d %d %d", i, i=20, i);
What is c language & why it is used?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
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); }
What is the process to create increment and decrement stamen in c?