Find the best tutors and institutes for BTech Tuition

Find Best BTech Tuition

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

C program for Beginners

Parul R.
02/08/2020 0 0

A Program to print 2 integer value. 




int a,b,add;




printf(“ Addition=%d”,&add);



Brief description of above program,

#include: it  includes library function/import predefine libraries.

<stdio.h>:  standard input output header file.

main():  it is first function of C programming. Every C programme must have main() function.

int a,b,add: a,b,add are declared as integer(int) type variables.

add=a+b: this statement sum a and b and store result in add variable.

printf: printf is a function to print output.

getch(): also a function, it is used to return program window to console.

0 Dislike
Follow 1

Please Enter a comment


Other Lessons for You

Lets Talk About Software Design-patterns
What are Design Patterns? Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context...

Material Science and Metallurgy
Hello, I would like to show very first how to visualize the subject. For this, we should have total concentration. To avoid obstacle coming in front of us, we will follow the following steps. Close your...

Yogesh Dhage | 26 May

2 0

// Use of Const Keyword in C Programming
#include #include void main() { float rad; const float pi=3.1412f; const char newline='\n'; float area_circle,circum_circle; clrscr(); printf("Enter radius of a circle:"); scanf("%f",&rad); area_circle=pi*rad*rad; printf("Area...

Salim Ahmed Ansari | 24/11/2020

0 0

Let Us C for the Beginners // WAP to Print Hello World on Screen 
// Sample program in C // Standard Library/Header files #include #include // Main function (Program execution starts here) Int main() { // Function for cleaning screen clrscr(); // Function...

Salim Ahmed Ansari | 18/11/2020

0 0

Spring - Dependency Injection (DI)
Spring - Dependency Injection (DI) DI is a framework which provides loose coupling in code. Here loose coupling means no hard coding of the object. Instead of hard coding, we will be injecting these object...

Gaurav Kothari | 18/11/2020

1 0

Looking for BTech Tuition ?

Find best BTech Tuition in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

Related Questions


Looking for BTech Tuition Classes?

Find best tutors for BTech Tuition Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for BTech Tuition Classes?

Find best BTech Tuition Classes in your locality on UrbanPro

Post your learning requirement

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