C Programs with Exreme outputs

1. C program without using any semicolon which output will : Hello word.

Solution:
void main(){
if(printf("Hello world")){
}
}

or

void main(){
while(!printf("Hello world")){
}
}

or

void main(){
switch(printf("Hello world")){
}
}




What is a control structure? The Type of control structure in C / C++ programming languages.

A statement used to control the flow of execution in a program or function is called control structure. The control structures in c / c++ programming language are used to combine individual instruction into a single logical unit. The logical unit has one entry point and one exit point.

The instructions in a program can be organized in three kinds of control structure to control execution flow in c / c++ programming language. All simple or complex programs can use these control structures to implement the program logic.

These control structures are three kinds.

  • Sequence Structure
  • Selection Structure
  • Repetition Structure