Computer Science, asked by deepthisurampudi, 4 months ago

what will be the output of the following code?
#include<stdio.h>
void main()
{
int a = 0;
while(a)
{
printf("C Program");
a) c program is printed infinite times
b) c program is printed 1 time only
c) nothing is printed
d) program gives error​

Answers

Answered by mssst94
1

Answer:

d) program gives error

Explanation:

the braces is not close

#include<stdio.h>

void main()

{

int a = 0;

while(a) // no condition is check

{

printf("C Program");

}

Similar questions