main()
{
extern out;
printf("%d", out);
}
int out=100;
Answer / susie
Answer :
100
Explanation:
This is the correct way of writing the previous program.
Is This Answer Correct ? | 8 Yes | 1 No |
void main() { int k=ret(sizeof(float)); printf("\n here value is %d",++k); } int ret(int ret) { ret += 2.5; return(ret); }
main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }
int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }
void main() { char a[]="12345\0"; int i=strlen(a); printf("here in 3 %d\n",++i); }
main() { char p[ ]="%d\n"; p[1] = 'c'; printf(p,65); }
void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }
#include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }
#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??
main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }
void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }
Is it possible to print a name without using commas, double quotes,semi-colons?
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql