1. main() { } ======================== 2. void main() { } ======================== 3. int main() { return 0; } ======================== 4. int main () { printf ("Welcome to C language"); return 0; } ======================== 5. #include <stdio.h> #include <conio.h> int main () { clrscr(); printf (“Welcome to C language”); return 0; } ======================== 6. #include <stdio.h> #include <conio.h> int main () { clrscr(); printf (“Welcome to C language”); getch(); retun 0; } ======================== String: strlen() #include <stdio.h> #include <conio.h> int main() { char str[30]="C PROGRAMMING"; clrscr(); printf("\n\nstr : %s\n\n",str); printf("\nLength of the st...
Get the latest unboxing and tech news at you fingertips. Collect Software and other precious data overtime