Posts

Showing posts with the label Programming Language

C Programming Practical Leaning

Image
C Progamming Language : - C is a powerful programming language that is used to develop operating systems, databases and more. Note:- int datatype keep positive and negative value and its size is 4 byte a per c programming language. Example :- WAP to take input from user and print it? #include<stdio.h> //it's used to write(scanf()) and read(prtinf())  //#include<math.h> //this library is used to perform math operation such as squre rool and square //#include<string.h> //This library is used to perform string function such as string copy, move etc. /* Note :- Here stdio means Standard Input output*/ void main() {   int a,b;   printf("enter value of a & b=> \n");   scanf("%d\n%d",&a,&b);   printf("a=> %d\nb=> %d",a,b); }   /*Output:-  enter value of a & b=>  -965 +5.6 a=> -965 b=> 5 */