int x=5;
printf("%d%d%d",x,x<<2,x>>2);
Answers were Sorted based on User's Feedback
why you will give me a job in TCS.
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }
Is there any data type in c with variable size?
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
What is formal argument?
1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?
Define the scope of static variables.
What is anagram in c?
can we change the default calling convention in c if yes than how.........?
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
Derive the complexity expression for AVL tree?