Computer Science, asked by varsha1958, 3 months ago

How many times the program will print "TECHNOLOGICS" ?
#include<stdio.h>
int main
us
printf("TECHNOLOGICS");
maino;
return 0;
}
Infinite times
32767 times
65535 times
Till stack overflows​

Answers

Answered by polurivaralakshmi2
0

Explanation:

i think 65535 times please make me brainlest answer

Answered by tiwariakdi
0

The program will print "TECHNOLOGICS" only once because the printf statement is only executed once in the main function.

However, the program has a syntax error because the main function is not properly defined.

The correct syntax for the main function in C is:

int main() {

   // code goes here

   return 0;

}

Without this correct syntax, the program may not compile or may produce unexpected results, including crashing or producing an infinite loop.

For similar questions on Programming

https://brainly.in/question/42769885

#SPJ6

Similar questions