Is the following code legal?
typedef struct a
{
int x;
aType *b;
}aType
Answer / susie
Answer :
No
Explanation:
The typename aType is not known at the point of declaring
the structure (forward references are not made for typedefs).
| Is This Answer Correct ? | 0 Yes | 1 No |
what is oop?
main() { show(); } void show() { printf("I'm the greatest"); }
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
how to delete an element in an array
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
Printf can be implemented by using __________ list.
void main() { while(1){ if(printf("%d",printf("%d"))) break; else continue; } }
why is printf("%d %d %d",i++,--i,i--);
#include<stdio.h> main() { int a[2][2][2] = { {10,2,3,4}, {5,6,7,8} }; int *p,*q; p=&a[2][2][2]; *q=***a; printf("%d----%d",*p,*q); }
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
main() { if (!(1&&0)) { printf("OK I am done."); } else { printf("OK I am gone."); } } a. OK I am done b. OK I am gone c. compile error d. none of the above
main() { int i=5; printf(ā%dā,i=++i ==6); }