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 |
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
how to swap 3 nos without using temporary variable
Is it possible to print a name without using commas, double quotes,semi-colons?
find simple interest & compund interest
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
write a c program to print magic square of order n when n>3 and n is odd?
main() { printf("%d", out); } int out=100;
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
Write a C program to add two numbers before the main function is called.
main() { int i=400,j=300; printf("%d..%d"); }