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
What is extern storage class in c?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What is the process of writing the null pointer?
Why structure is used in c?
What is class and object in c?
What is the difference between NULL and NUL?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
swap 2 numbers without using third variable?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
What is meant by initialization and how we initialize a variable?
Where local variables are stored in c?
How the c program is executed?
Is stack a keyword in c?
c program to compute AREA under integral
What is union and structure?