menu
Login
Register
search
Log In
account_circle
Log In
Email or Username
Password
Remember
Log In
Register
I forgot my password
Register
Username
Email
Password
Register
add
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
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
Update on GO Book for GATE 2022
Barc Interview Experience 2020- CSE stream
JEST 2021 registrations are open
TIFR GS-2021 Online Application portal
IIT Jodhpur Mtech AI - Interview Expierence (Summer Admission)
Subjects
All categories
General Aptitude
(2.1k)
Engineering Mathematics
(8.5k)
Digital Logic
(3k)
Programming and DS
(5.1k)
Programming
(3.6k)
DS
(1.5k)
Algorithms
(4.5k)
Theory of Computation
(6.3k)
Compiler Design
(2.2k)
Operating System
(4.7k)
Databases
(4.3k)
CO and Architecture
(3.5k)
Computer Networks
(4.3k)
Non GATE
(1.2k)
Others
(1.3k)
Admissions
(595)
Exam Queries
(838)
Tier 1 Placement Questions
(16)
Job Queries
(71)
Projects
(19)
Unknown Category
(1.1k)
Recent Blog Comments
Ohh, yeah now turned off. Got it sir, Thank you :)
I guess you might have turn on "Only GATE...
https://gateoverflow.in/280484/tifr2019-b-11 Arju...
Which question disappeared? Can you share a link?
OFFTOPIC:- @Arjun sir why are the questions of...
Network Sites
GO Mechanical
GO Electrical
GO Electronics
GO Civil
CSE Doubts
DSSB_2017
0
votes
400
views
Choose the statement that are syntactically incorrect in C language?
1.for( ; ; );
2./* this is a /* a valid */ comment*/
3.return 5;
4.return(6+3);
programming-in-c
asked
Jun 13, 2017
in
Programming
Harikesh Kumar
400
views
answer
comment
0
2 is wrong. You can break it like this.
/* this is a /*
a valid
*/ comment*/
0
You just copy please explain how is it wrong .
0
/* this is a /* ==> This is comment.
a valid ==> This will give error. Because it is not a comment.
*/ comment*/ ==> This is also comment.
for( ; ; ); This is correct. This is infinite loop. Conditional part is always true.
For option 3 and 4, They are very obvious. They are correct.
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
0
votes
a function can return only one value at a time,
answered
Jun 13, 2017
pawan kumarln
edited
Jun 13, 2017
by
pawan kumarln
comment
1
But in line 4 it is not returning two values. It is adding 6 and 3 and then returning their sum.
Please
log in
or
register
to add a comment.
0
votes
Only 2 is incorrect. As we know a comment in C starts with /* and ends with */. There is no concept of nested comment in C . Once we put */ , the comment ends there. Rest of the line is considered as redundant and hence is synctactically incorrect in C
answered
Jun 15, 2017
Sayan Bose
comment
Please
log in
or
register
to add a comment.
← Prev.
Next →
← Prev. Qn. in Sub.
Next Qn. in Sub. →
Related questions
1
vote
1
answer
1
896
views
DSSB_2017
Which of the following is not the member of class ? 1.Static function 2.Friend dunction 3.const. function 4.Virtual function
Which of the following is not the member of class ? 1.Static function 2.Friend dunction 3.const. function 4.Virtual function
asked
Jun 13, 2017
in
Programming
Harikesh Kumar
896
views
programming-in-c
0
votes
1
answer
2
160
views
DSSB_2017
Which contains the information about a file that is needed by the system programs that access the file records? 1.A file header 2.A file descriptor 3.Bootstrap 4.Both 1 and 2
Which contains the information about a file that is needed by the system programs that access the file records? 1.A file header 2.A file descriptor 3.Bootstrap 4.Both 1 and 2
asked
Jun 13, 2017
in
Operating System
Harikesh Kumar
160
views
operating-system
databases
programming-in-c
0
votes
1
answer
3
113
views
DSSB_2017
A logical schema is a database 1. is the entire database 2.is the standard way of organizing information into accessible parts 3.describes how data actually store in disk 4.all of the above
A logical schema is a database 1. is the entire database 2.is the standard way of organizing information into accessible parts 3.describes how data actually store in disk 4.all of the above
asked
Jun 13, 2017
in
Databases
Harikesh Kumar
113
views
databases
0
votes
1
answer
4
480
views
DSSB_2017
A sorting algorithm is called stable if 1.It takes O(n log n) time 2.It maintains relative order of occurrence of non-distinct elements 3.It uses divide and conquer paradigm 4.It takes linear time
A sorting algorithm is called stable if 1.It takes O(n log n) time 2.It maintains relative order of occurrence of non-distinct elements 3.It uses divide and conquer paradigm 4.It takes linear time
asked
Jun 13, 2017
in
Algorithms
Harikesh Kumar
480
views
algorithms
...