main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
what is the output?
Answer Posted / hemanth
5
10
2
| Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
How can a number be converted to a string?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is cohesion and coupling in c?
What is the difference between %d and %i?
Write a program to check whether a number is prime or not using c?
What are the basic data types associated with c?
How can you increase the size of a statically allocated array?
Hai what is the different types of versions and their differences
What is an operator?
Place the #include statement must be written in the program?
What are the types of assignment statements?
What is the purpose of the statement: strcat (S2, S1)?
What Is The Difference Between Null And Void Pointer?
What is a spanning Tree?
What are the uses of a pointer?