1) What will be the output of following program if old address of pointer variable is 62224?
#include<stdio.h>
main()
{
int ptr;
printf("\nthe old address is %u",ptr);
ptr=ptr+3;
printf("\nthe new address after addition is %u",ptr);
getch();
}
a)62222
b)62228
c)62230
d)62224
2)What is the output of following program?
void main()
{
int a=5;
while(a==5)
{
printf(“Hello”);
break;
}
}
a)Hello
b)Hello is printed infinite times
c)Error
d)Blank
Answers
Answered by
1
Answer:
its blank or error for some else problem
Similar questions
Computer Science,
1 month ago
Hindi,
1 month ago
Math,
1 month ago
India Languages,
2 months ago
Art,
2 months ago
History,
10 months ago
English,
10 months ago