How many identifiers are there in c?
No Answer is Posted For this Question
Be the First to Post Answer
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?
Explain the difference between #include "..." And #include <...> In c?
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?
#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,
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
Give me basis knowledge of c , c++...
regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression
# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none
main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }
What is sizeof int?