filmov
tv
Programming Language GATE-2015 Problem Solution

Показать описание
The output of the following C program is_____________.
void f1 ( int a, int b) {
int c;
c = a; a = b;
b = c;
}
void f2 ( int * a, int * b) {
int c;
c = * a; *a = *b; *b = c;
}
int main () {
int a = 4, b = 5, c = 6;
f1 ( a, b);
f2 (&b, &c);
printf ("%d", c - a - b);
}
GATE CSE 2015 Set 1 Question: 11
Call By Value and Call By Reference in C in Hindi
Difference between call by value and call by reference in Hindi
Pass by Value VS Pass by Reference
Call By Value and Call By Reference in C
Pass by Value | Pass by Reference
Variable in C programming in hindi | what is variable? Types of Variables in c in hindi
Variables & Data Types In C
Variables in C Programming | Programming in C
Introduction to Variables in C
Variables in C | C Language Tutorial
Arrays In C
Arrays in C | Introduction to Arrays
Arrays & Pointers in C
Array in C language
Pointers In C
Arrays & Pointers in C
Introduction to Pointers in C
Strings In C: C Tutorial In Hindi
Strings in C - part 1 | C programming tutorials
Strings in C
Strings in C Programming | Concept of Strings in C Programming
Recursion in C
Recursion in C | Introduction to Recursion
Recursive Functions: Recursion In C
Recursion in C | Recursive function in c programming
GATE CSE Preparation Strategy | Computer Science Preparation Strategy
How to Prepare for GATE CSE
GATE CSE Videos | GATE CSE PYQs Solution
GATE CSE Tips and Tricks
How I cracked GATE exam | Preparation strategy for GATE exam
How to Crack GATE Exam in First Attempt
How to Prepare For GATE Without Coaching
How to Crack GATE Exam Without Coaching
GATE Exam Preparation Strategy
How to Crack GATE by Self Study
Improve Score in GATE | Crack GATE Tricks
Benefits of GATE EXAM | How to PREPARE WITH or WITHOUT Coaching
#computerscience #computerscienceengineering #computersciencemcqs #computersciencevideos #gate #gateexam #gatecse #gatecomputerscience #gatecs #gatecsit #gate2011 #gate2023 #gate2023classes #gate2023preparation #gatepyqs #gatepyq #gatetips #gatetricks #gatepreparation #gateprepdaily #gatepreparationstrategy #gatepreviousyearquestions #gateprevioussolvedquestions #gatestrategy #gateexamprep #crackgateexam #crackgate #shortcut #shortcuts #shortcutsforstudents #shortcutvideo #btech #btechcse #btechit #bca #mca #kshitijsahu #gateq #datastructure #datastructures #datastructureandalgorithm #datastructuresandalgorithms #datastructureandalgorithms #algorithm #algorithms #designandanalysisofalgorithms #programming #programminglanguage #programminginhindi #programmer #clanguage #clanguageprogramming #programminglanguages #programminglanguages2020 #programminglanguages2021 #array #arrays #arraysinc #recursion #functioninc #pointersinc #string #strings #gate2015 #callbyreference #callbyvalue
void f1 ( int a, int b) {
int c;
c = a; a = b;
b = c;
}
void f2 ( int * a, int * b) {
int c;
c = * a; *a = *b; *b = c;
}
int main () {
int a = 4, b = 5, c = 6;
f1 ( a, b);
f2 (&b, &c);
printf ("%d", c - a - b);
}
GATE CSE 2015 Set 1 Question: 11
Call By Value and Call By Reference in C in Hindi
Difference between call by value and call by reference in Hindi
Pass by Value VS Pass by Reference
Call By Value and Call By Reference in C
Pass by Value | Pass by Reference
Variable in C programming in hindi | what is variable? Types of Variables in c in hindi
Variables & Data Types In C
Variables in C Programming | Programming in C
Introduction to Variables in C
Variables in C | C Language Tutorial
Arrays In C
Arrays in C | Introduction to Arrays
Arrays & Pointers in C
Array in C language
Pointers In C
Arrays & Pointers in C
Introduction to Pointers in C
Strings In C: C Tutorial In Hindi
Strings in C - part 1 | C programming tutorials
Strings in C
Strings in C Programming | Concept of Strings in C Programming
Recursion in C
Recursion in C | Introduction to Recursion
Recursive Functions: Recursion In C
Recursion in C | Recursive function in c programming
GATE CSE Preparation Strategy | Computer Science Preparation Strategy
How to Prepare for GATE CSE
GATE CSE Videos | GATE CSE PYQs Solution
GATE CSE Tips and Tricks
How I cracked GATE exam | Preparation strategy for GATE exam
How to Crack GATE Exam in First Attempt
How to Prepare For GATE Without Coaching
How to Crack GATE Exam Without Coaching
GATE Exam Preparation Strategy
How to Crack GATE by Self Study
Improve Score in GATE | Crack GATE Tricks
Benefits of GATE EXAM | How to PREPARE WITH or WITHOUT Coaching
#computerscience #computerscienceengineering #computersciencemcqs #computersciencevideos #gate #gateexam #gatecse #gatecomputerscience #gatecs #gatecsit #gate2011 #gate2023 #gate2023classes #gate2023preparation #gatepyqs #gatepyq #gatetips #gatetricks #gatepreparation #gateprepdaily #gatepreparationstrategy #gatepreviousyearquestions #gateprevioussolvedquestions #gatestrategy #gateexamprep #crackgateexam #crackgate #shortcut #shortcuts #shortcutsforstudents #shortcutvideo #btech #btechcse #btechit #bca #mca #kshitijsahu #gateq #datastructure #datastructures #datastructureandalgorithm #datastructuresandalgorithms #datastructureandalgorithms #algorithm #algorithms #designandanalysisofalgorithms #programming #programminglanguage #programminginhindi #programmer #clanguage #clanguageprogramming #programminglanguages #programminglanguages2020 #programminglanguages2021 #array #arrays #arraysinc #recursion #functioninc #pointersinc #string #strings #gate2015 #callbyreference #callbyvalue