WELCOME TO C PROGRAMMING QUIZ!!!

1)What is the output for this program?
#include<stdio.h>
int main()
{
int c=2,a=0;
printf("%d",c/a);
}

2
Run time error
Compile time error


2)Pointer is used for______.

Storing variable
Storing variable address
Point the address


3)How many times "Welcome" will be printed?
#include<stdio.h>
int main()
{
int k=5;
for(int i=0;i<k/2;i++)
printf("WELCOME");
}

3
1
2


4)How many storage classes are there in C?

3
4
2


5)What is the output?
#include<stdio.h>
int main()
{
const int a=4;
for(int i=0;i<a;i++)
{
printf("%d",a);
a+=1;
}
}

4567
4444
1234