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 s or c?
What is volatile variable how do you declare it?
What is malloc() function?
Explain can static variables be declared in a header file?
Why is c called a mid-level programming language?
What are extern variables in c?
What is difference between union All statement and Union?
How do we make a global variable accessible across files? Explain the extern keyword?
What is the benefit of using an enum rather than a #define constant?
What is extern storage class in c?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is 02d in c?
What is optimization in c?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Which programming language is best for getting job 2020?