BEST C & C++ PROGRAMMING INSTITUTE FOR STUDENTS AT PATNA IN INDIA
Computer programming means giving instruction to the computer and to interact with the computer we need a language to communicate with it, there are many languages such as C, C++, Java each having their own features. To easy learn C programming you must start making programs in it. Your first c code: C hello world program: Purpose of Hello world program may be to say hello to people or the users of your software or application. Don't worry if you didn't understand the code as you may not be familiar with C Programming //C hello world example #include int main() { printf("Hello worldn"); return 0; } We may store "hello world" in a character array as a string constant and then print it. #include int main() { char string[] = "Hello World"; printf("%sn", string); return 0; } Printing hello world indefinitely: Using loop we can print "Hello World" a desired number of time or indefinitely. #include #define TRUE 1 int main() { while (TRUE) { printf("Hello Worldn"); } return 0; } While loop will execute forever until it is terminated, to terminate press (Ctrl + C) in windows operating system. ENTER THE EXCITING WORLD OF PROGRAMMING..........Start your programming skills with C & C++ Programming, the basics of all programming languages. Come, join GENCOR INFOEDGE and give wings to your dreams............ Contact Us At - | Visit Us At Road # 3, Rajendra Nagar, Patna-16
4.00/5
1 reviews
Price:
₹ 0,00
₹ 0,00
Contact
CONTACT