Computer Science, asked by pottapavani07, 1 year ago

What will be the output of the following C program?
S.
1 #include <stdio.h>
2 void main()
3 {
char name[ ]="AEIOU" ;
int i=0;
while(name[i]!='\0'){
printf("%c", name[i]);
i++;
Non
return 0;
10
11 }

Answers

Answered by tiger009
0

C program

Output:

A

Explanation:

In the above program, they set the required header file and define main method then, declare character data type array 'name' and initialize "AEIOU". Then, set integer data type variable 'i' and initialize it to 0.

Then, set the while loop and pass condition the following condition and finally print the following variable and increment in the variable 'i' by 1.

Learn More:

https://brainly.in/question/10611359

Answered by anirudhayadav393
0

Concept Introduction: C program is a very primitive programming language.

Explanation:

We have been Given:

#include <stdio.h>

void main()

{

char name[ ]="AEIOU" ;

int i=0;

while(name[i]!='\0'){

printf("%c", name[i]);

i++;

Non

return 0;

}

We have to Find: What will be the output of the following C program?

The output of the following program will be A.

Final Answer: The output of the following program will be A.

#SPJ2

Similar questions