filmov
tv
Programming Language GATE-2015 Problem Solution

Показать описание
Consider the following C program segment.
int main()
{
char s1[7] = "1234", *p;
p = s1 + 2;
*p = '0';
printf("%s", s1);
}
What will be printed by the program?
A- 12
B- 120400
C- 1204
D- 1034
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
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 #gate2011 #array #arrays #arraysinc #recursion #functioninc #pointersinc #string #strings #characterarray
int main()
{
char s1[7] = "1234", *p;
p = s1 + 2;
*p = '0';
printf("%s", s1);
}
What will be printed by the program?
A- 12
B- 120400
C- 1204
D- 1034
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
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 #gate2011 #array #arrays #arraysinc #recursion #functioninc #pointersinc #string #strings #characterarray