Scope Of Variables - Gujarati
- subtitles off
- captions off
- English
- Gujarati
- Questions posted on Forums
- C and Cpp Tutorials - Gujarati
-
Square of numbers
#include<stdio.h>int main(){ float number, square; printf("Please Enter any integer Value:); scanf("%f", &number); square number number; printf("square of a given number %.2f is =%.2f", number, square); return 0;}ByPooja.N.LECE departmentIRTT
04-05M 10-20S unanswered Poojanl
Question posted on: Dec. 6, 2021, 10:46 p.m.
-
Assignment
Program
08-09M 0-10S Sakshichoudhary
Answer last updated on: Aug. 20, 2024, 7:31 p.m.
-
Difference between two numbers
#include<stdio.h>int main( ){ int a,b; int diff; printf("Enter first number :"); scanf("%d",&a); printf("Enter second number :"); scanf("%d",&b); if(a>b) diff=a-b; else diff=b-a; printf("\n Difference between %d and %d is=%d",a,b,diff); return 0;}ByKeerthi vennila SEce departmentIrtt
05-06M 40-50S Keerthi19
Answer last updated on: Aug. 19, 2024, 2:46 p.m.
-
Difference between two Numbers
#include <stdio.h>int main(){ int a,b; int diff; printf("Enter first number: "); scanf("%d",&a) printf("Enter second number: "); scanf("%d",&b) if( a>b ) diff=a-b; else diff=b-a; printf("\n Difference between %d and %d is = %d", a, b, diff); return 0;}BYShamraj Babu.TECE DepartmentIRTT
03-04M 0-10S Sham_raj
Answer last updated on: Aug. 19, 2024, 2:44 p.m.
-
Difference between two numbers
#include <stdio.h>int main(){ int a,b; int diff; printf("Enter first number: "); scanf("%d",&a); printf("Enter second number: "); scanf("%d",&b); if( a>b) diff=a-b; else diff=b-a; printf("\nDifference between %d and %d is = %d", a,b,diff); return 0;}By M. Bala priyadharshini ECE department IRTT
04-05M 50-60S mpandiselvan2021@gmail
Answer last updated on: Aug. 19, 2024, 2:44 p.m.
-
Difference between two Numbers
#include<stdio.h>int main( ){ int a,b; int diff; printf("Enter first number :"); scanf("%d",&a); printf("Enter second number :"); scanf("%d",&b); if(a>b) diff=a-b; else diff=b-a; printf("\n Difference between %d and %d is=%d",a,b,diff); return 0;}
02-03M 0-10S Sham_raj
Answer last updated on: Jan. 10, 2022, 2:20 p.m.
-
Regarding Assignment
Why is the following code wrong? Why can't the main function return float data type? What to do if we have to find the difference between two floating numbers?Please explain.#include <stdio.h>void difference(float a, float b){ float c = a-b; printf("The difference between x and y is %f\n", c);}float main(){ float x,y; printf("Enter the number 1:"); scanf("%f", &x); printf("Enter the number 2:"); scanf("%f", &y); difference(x,y); return 0;}
08-09M 40-50S bsscharan
Answer last updated on: Oct. 21, 2020, 2:48 p.m.
-
Variable declaration
What is the difference between a global declaration and Extern. How it differs as both does the same operation
08-09M 0-10S arthi19
Answer last updated on: March 13, 2020, 3:27 p.m.
-
Use of Namespace in scoe of variables
what is the use of namespace in scope of variables?
04-05M 0-10S ISHAT
Answer last updated on: Feb. 29, 2020, 12:48 p.m.
-
1First C Program
-
2First Cpp Program
-
3Tokens
-
4Functions
-
Scope Of Variables
-
6If And Else If statement
-
7Nested If And Switch Statement
-
8Increment And Decrement Operators
-
9Arithmetic Operators
-
10Relational Operators
-
11Logical Operators
-
12Loops
-
13Arrays
-
14Working With 2D Arrays
-
15Strings
-
16String Library Functions
-
17Working With Structures
-
18Understanding Pointers
-
19Function Call
-
20File Handling In C
Questions posted on ST Forums:
1257 visits
Outline:
સ્કોપ ઓફ વેરીએબલ -પરિચય - વેરીએબલ ડીકલેર કરવા માટે સિન્ટેક્સ --ઉદાહરણ: data-type var-name; - વેરીએબલ ઇનિશિલાઇઝ કરવા માટે સિન્ટેક્સ --ઉદાહરણ: data-type var-name = value; -સ્કોપ ઓફ વેરીએબલસ -ગ્લોબલ વેરીએબલ -લોકલ વેરીએબલ -એરર
Width: | 832 | Height: | 704 |
---|---|---|---|
Duration: | 00:08:08 | Size: | 5.3 MB |
Show video info