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
NIELIT 2017 DEC Scientist B - Section B: 44
Lakshman Patel RJIT
asked
in
Programming
Mar 30, 2020
retagged
Oct 28, 2020
by
Krithiga2101
1,183
views
1
vote
1
vote
If $x$ is a one dimensional array, then
$^*(x+i)$ is same as $^*(\&x[i])$
$\&x[i]$ is same as $x+i-1$
$^*(x+i)$ is same as $^*x[i]$
$^*(x+i)$ is same as $^*x+i$
nielit2017dec-scientistb
programming-in-c
array-of-pointers
Lakshman Patel RJIT
asked
in
Programming
Mar 30, 2020
retagged
Oct 28, 2020
by
Krithiga2101
by
Lakshman Patel RJIT
1.2k
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
3
votes
3
votes
answer is option (A)
*(X+i)=X[i]=*(&x[i])
for option c *(X+i)=**(X+i) which is not correct
abhishek tiwary
answered
Dec 18, 2017
by
abhishek tiwary
comment
Follow
share this
2 Comments
by
neelesh_007
commented
Jun 3, 2021
reply
Follow
share this
why is D wrong,explain plz
0
0
by
afroze
commented
Apr 15, 2022
reply
Follow
share this
int x[4]={5,2,7,6};
i=0. x[i]=5. *(x+i)=5. &x[i]=5
if i=1 then *(x+i)=2
but *x=5 1st value of array
*x+i=5+1=6
due to this option D is wrong.
0
0
Please
log in
or
register
to add a comment.
0
votes
0
votes
A
*(x+i) == x[i]
shrayansh
answered
Dec 18, 2017
by
shrayansh
comment
Follow
share this
0 Comments
Please
log in
or
register
to add a comment.
Answer:
A
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
4
answers
1
Lakshman Patel RJIT
asked
in
Programming
Mar 31, 2020
763
views
NIELIT 2016 DEC Scientist B (IT) - Section B: 11
What is the meaning of following declaration? int(*p[7])(); $p$ is pointer to function $p$ is pointer to such function which return type is array $p$ is array of pointer to function $p$ is pointer to array of function
Lakshman Patel RJIT
asked
in
Programming
Mar 31, 2020
by
Lakshman Patel RJIT
763
views
nielit2016dec-scientistb-it
programming-in-c
pointers
array-of-pointers
1
vote
1
vote
2
answers
2
Lakshman Patel RJIT
asked
in
Programming
Mar 31, 2020
1,051
views
NIELIT 2017 DEC Scientific Assistant A - Section B: 42
Which of the following is illegal declaration in $C$ language? char*str ="Raj is a Research scholar"; char str[25] ="Raj is a Research scholar"; char str[40] ="Raj is a Research scholar"; char[]str ="Raj is a Research scholar";
Lakshman Patel RJIT
asked
in
Programming
Mar 31, 2020
by
Lakshman Patel RJIT
1.1k
views
nielit2017dec-assistanta
programming-in-c
pointers
array-of-pointers
1
vote
1
vote
1
answer
3
Lakshman Patel RJIT
asked
in
Programming
Mar 30, 2020
1,106
views
NIELIT 2017 July Scientist B (IT) - Section B: 35
Assume that float takes $4$ bytes, predict the output of following program. #include<stdio.h> int main() { float arr[5]={12.5,10.0,13.5,90.5,0.5}; float *ptr1=&arr[0]; float *ptr2=ptr1+3; printf("%f",*ptr2); printf("%d",ptr2-ptr1); return 0; } $90.500000\:\:3$ $90.500000\:\:12$ $10.000000\:\:12$ $0.500000\:\:3$
Lakshman Patel RJIT
asked
in
Programming
Mar 30, 2020
by
Lakshman Patel RJIT
1.1k
views
nielit2017july-scientistb-it
programming-in-c
pointers
array-of-pointers
4
votes
4
votes
5
answers
4
Lakshman Patel RJIT
asked
in
Databases
Mar 30, 2020
2,482
views
NIELIT 2017 DEC Scientist B - Section B: 1
Which one of the following statements are not correct? $S1$: $3$NF decomposition is always lossless join and dependency preserving. $S2$: $3$NF decomposition is always lossless join but may or may not be dependency preserving. $S3$: BCNF decomposition is always ... may not be dependency preserving. Only $S1$ Only $S4$ Both $S1$ and $S4$ Both $S2$ and $S3$
Lakshman Patel RJIT
asked
in
Databases
Mar 30, 2020
by
Lakshman Patel RJIT
2.5k
views
nielit2017dec-scientistb
database-normalization
bcnf-decomposition
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
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?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Life happens, just chill and do hardwork
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
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
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
Twist at every point Man
Diagonalization of a MatrixIf there is an...
"i applied to amazon for 6 times,flipkart 2...
The Memes were inserted perfectly😁😁
Epic tha bhai
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy