int a=2,b=3,c=4;
printf("a=%d,b=%d\n",a,b,c);
what is the o/p?
Answer Posted / sanjay
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("\na=%d\n",a);
scanf("a=%d\n",a);
printf("a=%d\n",a);
printf("a=%d\n\n\n",&a);
//scanf("b=%d\n",&b);
//printf("a=%d\n",b);
//printf("a=%d\n",&a);
getch();
}
tell me the output why -12 and -28713 when i was enter 1 or
any digit?
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is the difference between procedural and declarative language?
What is meant by int main ()?
What is the size of enum in c?
If null and 0 are equivalent as null pointer constants, which should I use?
Is c compiled or interpreted?
What is an array in c?
Why calloc is better than malloc?
What is the role of this pointer?
I need a sort of an approximate strcmp routine?
What are pointers? What are stacks and queues?
How many bytes are occupied by near, far and huge pointers (dos)?
explain what is an endless loop?
What does c value mean?
What is a static variable in c?