Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Gateforum Test Series
[closed]
Gupta731
asked
in
Programming
Jan 2, 2019
closed
Jan 2, 2019
by
Gupta731
221
views
0
votes
0
votes
closed with the note:
No Doubt.
$a=a+100$ in function foo, does it increases the value of a by 100 or just increments the address.
gateforum-test-series
programming-in-c
Gupta731
asked
in
Programming
Jan 2, 2019
closed
Jan 2, 2019
by
Gupta731
by
Gupta731
221
views
comment
Follow
share this
share
4 Comments
Show 2 previous comments
by
Gupta731
commented
Jan 2, 2019
reply
Follow
share this
Answer is 140. I realized my mistake while posting the question. That's why hid it.
Then also it's showing up to you all.
0
0
by
Magma
commented
Jan 2, 2019
reply
Follow
share this
Oo yes i just calulated the a = 130
a + j = 140
0
0
by
Gupta731
commented
Jan 2, 2019
reply
Follow
share this
After closing also we can comment. There is some bug.
0
0
Please
log in
or
register
to add a comment.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
Shivam Kasat
asked
in
Programming
Dec 15, 2018
335
views
Gateforum Test Series: Programming & DS - Programming In C
Can anyone explain how will the second parameter gets passed ?
Shivam Kasat
asked
in
Programming
Dec 15, 2018
by
Shivam Kasat
335
views
gateforum-test-series
programming
programming-in-c
1
vote
1
vote
2
answers
2
Gupta731
asked
in
Programming
Dec 9, 2018
452
views
Gateforum Test Series: Programming & DS - Programming In C
What is the output of the following program? $main()$ { $char *s[]=\left \{ “ice”, “green”, “cone”, “please”\right \};$ $char **ptr[]=\left \{ s+3, s+2, s+1, s\right \};$ $char ***P=ptr;$ $printf(“\%s”,**++P);$ } Ice Green Cone Please I think the answer should be $B$ but $C$ is provided as answer.
Gupta731
asked
in
Programming
Dec 9, 2018
by
Gupta731
452
views
gateforum-test-series
programming
programming-in-c
0
votes
0
votes
1
answer
3
Parth Shah
asked
in
Programming
Nov 29, 2018
214
views
Gateforum Test Series: Programming & DS - Programming In C
Which of the statements are false about keyword register'? Register keyword can be used with a pointer variable as register can have address of memory location. We can use '&' operator with register variable and access address of ... of the above D) both b and c. Can someone explain the choice a more clearly in the above question?
Parth Shah
asked
in
Programming
Nov 29, 2018
by
Parth Shah
214
views
gateforum-test-series
programming-in-c
programming
0
votes
0
votes
1
answer
4
Mahbub Alam
asked
in
Programming
Nov 19, 2018
273
views
Gateforum Test Series: Programming & DS - Programming In C
What will be the output of the following program [Addresses of the variables are assigned continuous] #include<stdio.h> void main() { int a = 4, b = 8, c = 12, d, e, f ; int *x=&a , *y=&b, *z =&c ; d =x - y ; e =y - z ; f = d - e ; printf("%d" ; f) ; } (A)Compiler error (B) -8; (C)8; (D) 2;
Mahbub Alam
asked
in
Programming
Nov 19, 2018
by
Mahbub Alam
273
views
gateforum-test-series
programming
programming-in-c
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
GATE CSE 2023 Paper & Analysis - Memory Based
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Programming
(3.9k)
DS
(1.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(75)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
@Aakash_Bhardwaj all the best bro . For your...
What's the answer for keystroke question
Same,easy to moderate
I felt paper was very much like AIMT 3!!
very easy paper, I don't want to discuss paper...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy