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
Test by Bikram | Programming | Test 2 | Question: 6
Bikram
asked
in
Programming
May 14, 2017
edited
Nov 27, 2021
by
Arjun
212
views
0
votes
0
votes
Which among following statements is/are TRUE?
&
is bit-wise and
&&
is a logical operator
&
returns an integer value whereas
&&
returns a boolean value
Both the above options are correct
Both (A) and (B) are incorrect
tbb-programming-2
binary-operation
programming-in-c
Bikram
asked
in
Programming
May 14, 2017
edited
Nov 27, 2021
by
Arjun
by
Bikram
212
views
answer
comment
Follow
share this
share
4 Comments
Show 3 previous comments
by
Bikram
commented
Sep 5, 2019
reply
Follow
share this
https://stackoverflow.com/questions/5537607/usage-of-versus
0
0
by
neel19
commented
Nov 27, 2021
reply
Follow
share this
So then is A correct or C?
0
0
by
Arjun
commented
Nov 27, 2021
reply
Follow
share this
Option B was wrong, corrected now.
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
Answer:
C
← Previous
Next →
← Previous in category
Next in category →
Related questions
2
votes
2
votes
1
answer
1
Bikram
asked
in
Programming
May 14, 2017
332
views
Test by Bikram | Programming | Test 2 | Question: 2
Which of the following statements is/are true ? #include <stdio.h> int main() { int x=10, y=200%90, i; for( i=1;i++<=10;); if(x==y); printf("x=%dy=%d\n",x,y ); return 0; } printf() is called infinite times program will produce output x=10,y=20; The program will not produce any output The program will produce some error
Bikram
asked
in
Programming
May 14, 2017
by
Bikram
332
views
tbb-programming-2
programming-in-c
3
votes
3
votes
1
answer
2
Bikram
asked
in
Programming
May 14, 2017
203
views
Test by Bikram | Programming | Test 2 | Question: 30
Assume that $a[4]$ is a one-dimensional array of $4$ elements, $p$ is a pointer variable and $p = a$ is performed. Now, which among these expressions is illegal? $p == a[0]$ $p == \&a[0]$ $^*p == a[0]$ $p[0] == a[0]$
Bikram
asked
in
Programming
May 14, 2017
by
Bikram
203
views
tbb-programming-2
0
votes
0
votes
1
answer
3
Bikram
asked
in
Programming
May 14, 2017
214
views
Test by Bikram | Programming | Test 2 | Question: 29
Spot the error(s) in this code snippet : int n=2; // Line 1 switch(n) { case 1.5: printf( "gate"); break; case 2: printf( "overflow"); break; case 'A': printf("gateoverflow"); } // Line 12 The error(s) is in line number _____.
Bikram
asked
in
Programming
May 14, 2017
by
Bikram
214
views
tbb-programming-2
numerical-answers
0
votes
0
votes
1
answer
4
Bikram
asked
in
Programming
May 14, 2017
92
views
Test by Bikram | Programming | Test 2 | Question: 28
#include<stdio.h> int K = 10; int main() { foo(); foo(); return 0; } int foo() { static int k= 1; printf("%d ",k); k++; return 0; } What is the output of the above code snippet? $2,3$ $1,2$ $1,3$ $2,4$
Bikram
asked
in
Programming
May 14, 2017
by
Bikram
92
views
tbb-programming-2
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
Recruitment of Scientific Officers in the Department of Atomic Energy 2023
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
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
(843)
Tier 1 Placement Questions
(17)
Job Queries
(75)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
+1
1200/1000 = 1.2
Aptitude- 1- there was a question, Like in a...
Suppose typing happens at 1 keystroke per second....
The algorithm for graph colouring was to pick...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy