Lesson 1 of 23
మీ మొదటి C ప్రోగ్రామ్
7 min 20 XP
C అనేక భాషలకు తల్లి: Linux, Windows వంటి operating systems, లెక్కలేనన్ని embedded devices దీనిలోనే రాయబడ్డాయి. ప్రతి C ప్రోగ్రామ్ main() function వద్ద మొదలవుతుంది. printf() స్క్రీన్పై print చేస్తుంది, దానికి #include <stdio.h> కావాలి.
Example: edit me and press Run
Output Loading C (first time takes a few seconds)
Press Run to see the result here.\n అంటే కొత్త లైన్; అది లేకపోతే తర్వాతి printf అదే లైన్లో కొనసాగుతుంది. ప్రతి statement semicolon తో ముగుస్తుంది, return 0; ప్రోగ్రామ్ విజయవంతంగా పూర్తయిందని system కు చెబుతుంది.
Example: edit me and press Run
Output Loading C (first time takes a few seconds)
Press Run to see the result here.C case-sensitive: printf పనిచేస్తుంది, Printf పనిచేయదు. Compile error కనిపిస్తే, ముందుగా ఆ line number వద్ద semicolon తప్పిపోయిందేమో చూడండి.