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 |
find A^B using Recursive function
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
Write a single line c expression to delete a,b,c from aabbcc
#include<stdio.h> main() { register i=5; char j[]= "hello"; printf("%s %d",j,i); }
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
Who could write how to find a prime number in dynamic array?
#include<stdio.h> main() { const int i=4; float j; j = ++i; printf("%d %f", i,++j); }
what is the output of the below program & why ? #include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); }
main() { char *p="GOOD"; char a[ ]="GOOD"; printf("\n sizeof(p) = %d, sizeof(*p) = %d, strlen(p) = %d", sizeof(p), sizeof(*p), strlen(p)); printf("\n sizeof(a) = %d, strlen(a) = %d", sizeof(a), strlen(a)); }
main() { unsigned char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }