main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
what is the output?
Answers were Sorted based on User's Feedback
Answer / dgsfg
5
20
1
kuchh log pagal hain
%d aur int datatype main float value print karate hain(1.25)
hehehehe........
| Is This Answer Correct ? | 2 Yes | 8 No |
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
WHAT IS PRE POSSESSORS?
Do you know the difference between malloc() and calloc() function?
how we can make 3d venturing graphics on outer interface
What are the preprocessors?
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Write a program to print factorial of given number using recursion?
Are local variables initialized to zero by default in c?
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?
Write a program to print distinct words in an input along with their count in input in decreasing order of their count