void foo() ( char a[]="NITJ"; char b[]="NITJ"; if (a - b) printf("Same"); printf("Different"); else } void main() { int

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

void foo() ( char a[]="NITJ"; char b[]="NITJ"; if (a - b) printf("Same"); printf("Different"); else } void main() { int

Post by answerhappygod »

Void Foo Char A Nitj Char B Nitj If A B Printf Same Printf Different Else Void Main Int 1
Void Foo Char A Nitj Char B Nitj If A B Printf Same Printf Different Else Void Main Int 1 (111.02 KiB) Viewed 146 times
in c language
void foo() ( char a[]="NITJ"; char b[]="NITJ"; if (a - b) printf("Same"); printf("Different"); else } void main() { int i; printf("NITJ\n"); for(i=0;i<5;i++) main(); } void fun(char *m) if(*m && *m != '') { fun(a+1); putchar(*m); void main() { int x,y,z, x=y=z=-1; z = ++x || ++y && ++z; printf("x=%d,y=%d,z-%d",x,y,z); } void foo() { char s[5]="abcd", *k; k=s+1; *k='0'; printf("%s",s); void foo(int a, int b) { if(b!=1) if(a!= 1) { printf("NITJ"); foo(a/2,b); } Input: NIT Jalandhar (It will be else given) { b--; foo(1024,b); } } Question: Compute the numb times NITJ will be printed wh and b are 1024 and respectively. 2
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply