saving . . . saved Assingment -1 has been deleted. Assingment -1 has been hidden .
Assingment -1
Title
Question
// My First C Program
#include <stdio.h>
int main()
{
   printf("welcome to the world of C \n ");
   return 0;
}

Mohan S
19ECE16


C-and-Cpp First-C-Program 04-05 min 10-20 sec 06-12-21, 10:11 p.m. Monamervin08

Answers:

Assignments are only for self-assessment. If you have any specific question related to this tutorial please post here.
10-01-22, 3:49 p.m. hbammkanti


#include<stdio.h>
int main()
{
printf("Welcome to the World  of C");
getch();
}
15-03-22, 7:22 p.m. Pdevisreesowmya2408
getch(); is use in void main() function return 0; is use in int main() function
01-04-23, 4:38 p.m. ketandesai951

Login to add comment


#include<stdio.h>
int main()
{
printf("welcome to the world of c");
getch();
}
15-03-22, 8:03 p.m. Rsaisruthi0317


#include<stdio.h>
int main()
{
printf("Welcome to the World of C");
getch();
}
15-03-22, 8:04 p.m. Saipoojitha76599


#include<conio.h>
#include<stdio.h>
void main()
{
 clrscr();
 printf("Welcome to the World of C");
 getch();
}
01-04-23, 4:41 p.m. ketandesai951


<span style="color: #a626a4;">#include</span><span style="color: #50a14f;"><stdio.h></span>
<span style="color: #a626a4;">int</span> <span style="color: #4078f2;">main</span>()
{
    <span style="color: #4078f2;">printf</span>(<span style="color: #50a14f;">"Welcome to the World of C"</span>);
    <span style="color: #a0a1a7;font-style: italic;">//If the /n is included in the beginning of the statement then the statement gets printed on to the next line </span>
    <span style="color: #a0a1a7;font-style: italic;">// If the /n is not included in the beginning of the statement then the statement gets printed on to the first line </span>
    <span style="color: #a0a1a7;font-style: italic;">//but if the new statement is to be printed then it will printed on the 3rd line</span>
}
30-11-23, 2:48 p.m. Vishal_Sonawane


Log-in to answer to this question.