UrbanPro
true

Take BCA Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

C Programming Introduction

N
Namrata Y.
05/03/2018 0 0

Beginners: 

C Programming is the base of all programming languages we learn.

C

This Page will help you to understand all difficulties you may face in writing a simple program.

What to remember while writing every C Program?

C is a structural programming language. It has it's own syntax to write every single statement. Few things we must keep it in our mind:

  • It's a case sensitive language, so write every statement in small letters.
  • Use exact same syntax as defined, do not modify it.
  • Understand the meaning of every special symbol character in C. If you don't it may change the behavior of your Program.

What is fixed in every C Program?

  • #include< library name / file name with .h extension>
    • common names: stdio.h, conio.h, stdlib.h
  • main () function
  • { opening curly bracket after main()
  • programming code (every statement must  be closed by ; )
  • } closing curly bracket after return 0
# include

main()

{

code

.

.

return 0;

}

What is difficult for every Beginners?

  • Remembering syntax.
  • Understanding the programming logic.
  • Writing the correct error free program.
  • Identifying the errors and making wrong statement correct.

How to overcome the difficulties?

  • Solve maximum examples or write many programs until you feel comfortable with coding.
  • Remember all standard syntax.
  • Run every program in it's environment and try to fix every error.
0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Dynamic Memory Allocation in C using malloc()
#include <stdio.h>#include <conio.h>//#include <malloc.h> OR#include <stdlib.h>void main(){ int *ptr, i, n, sum = 0; printf("how many elements ? "); scanf("%d", &n);...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

Super-Market Billing Console Application
#include using namespace std; int main() { int n=0; float T=0; cout<<"Welcome to Yashtosh Mart !\n"<<endl; cout<<"Type total number of items bought"<<endl; cin>>n;...

Series 1- An Insight Into Computer Programming Languages
SQL has enjoyed a manifold lead over other programming languages in the past couple of years. This programming language aids data manipulation. MySQL and Microsoft SQL are among the most preferred SQL...
E

Edusmart Skills

0 0
0

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...
X

Looking for BCA Tuition Classes?

The best tutors for BCA Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BCA Tuition with the Best Tutors

The best Tutors for BCA Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more