write a progam to compare the string using switch case?
switch(strcmp(str1,str2))
{
case 0: printf("\nBoth are equal"); break;
default:
printf("\nBoth are not equal");
break;
}
| Is This Answer Correct ? | 4 Yes | 2 No |
How does normalization of huge pointer works?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
What are Macros? What are its advantages and disadvantages?
What are types of functions?
wap to print "hello world" without using the main function.
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
#define f(x) main() { printf("\n%d",f(2+2)); }
What are pointers?
0 Answers Accenture, Tavant Technologies, Zensar,
diff between exptected result and requirement?
#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }
write a program to generate 1st n fibonacci prime number