UrbanPro
true

Find the best tutors and institutes for BCA Tuition

Find Best BCA Tuition

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

// Use of Const Keyword in C Programming

Salim Ahmed Ansari
24/11/2020 0 0

#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 of a circle:%f %c",area_circle,newline);

circum_circle=2*(pi*rad);

printf("Circumference of a circle:%f",circum_circle);

getch();

}

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Facts about C language
C programming language was developed in 1972 by Dennis Ritchie at AT&T Bell Labs. It was developed to overcome the problems of languages such as B, BPCL. It was developed to write the Unix operating...

Manoj S. | 03/08/2020

0 0
0

C program for Beginners
A Program to print 2 integer value. #include<stdio.h> #include<conio.h> main() int a,b,add; a=5; b=3; add=a+b; printf(“ Addition=%d”,&add); getch(); Brief description...
P

Parul R. | 02/08/2020

1 0
0

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);...

Sankhadeep Pujaru | 04/06/2020

0 0
0

Compiling C program on Linux machine GCC ,GDB
Linux have powerful tool called "Terminal". From "terminal" we can command the machine. For any programming language the required tools are editor, compiler and debugger. Compiler will check the syntax...

Narasimha Reddy | 06/03/2020

0 0
0

C Programming basics
C PROGRAMMING BASICS 10 Hours Introduction to ‘ C’ programming –fundamentals – structure of a ‘C’...

Om K. | 21/01/2020

0 0
0

Looking for BCA Tuition ?

Find best BCA Tuition in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
Sponsored
X

Looking for BCA Tuition Classes?

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

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

Looking for BCA Tuition Classes?

Find best BCA 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