Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by rude
5
votes
241
operator precedence
int main(){ int a = 4,b = 5,c = 6; int k = ++a || ++b && c++; printf("%d %d %d %d",a,b,c,k); return 0; } o/p 5 5 6 1 Above code will not increment b and c why??even the precedence of logical And is more than logical Or
int main(){ int a = 4,b = 5,c = 6; int k = ++a || ++b && c++; printf("%d %d %d %d",a,b,c,k); return 0; }o/p 5 5 6 1Above code will not increment b and c why??even the pre...
4.8k
views
answered
Apr 4, 2016
Programming in C
programming-in-c
+
–
4
votes
242
array
1.2k
views
answered
Apr 4, 2016
3
votes
243
Which of these programs are possible in C++/Java without the use of File I/O ?
P1: A program can print its source code once. P2: A program can print its source code twice. P3: A program takes an input n and prints its source code n number of times. Which of these programs are possible in C++ ... : A. P1 possible B. P1 and P2 possible. C. None Possible. D. All are possible Option can be different
P1: A program can print its source code once.P2: A program can print its source code twice.P3: A program takes an input n and prints its source code n number of times.Whi...
631
views
answered
Mar 28, 2016
Programming in C
barc2016
programming
others
geeks
+
–
3
votes
244
c array
Under which of the following conditions, the size of an one-dimensional array need to be specified ? a) when initialization is a part of definition b) when it is a declaration c) when it is a formal parameter or actual parameter d) none of the above
Under which of the following conditions, the size of an one-dimensional array need to be specified ?a) when initialization is a part of definitionb) when it is a declarat...
5.4k
views
answered
Mar 22, 2016
4
votes
245
about c language
what is function in c pragramming to take mod of number in c ie. |-15|=15
what is function in c pragramming to take mod of number in c ie. |-15|=15
545
views
answered
Mar 22, 2016
18
votes
246
GATE2014 EC-1: GA-2
Read the statements: All women are entrepreneurs. Some women are doctors. Which of the following conclusions can be logically inferred from the above statements? All women are doctors All doctors are entrepreneurs All entrepreneurs are women Some entrepreneurs are doctors
Read the statements:All women are entrepreneurs. Some women are doctors. Which of the following conclusions can be logically inferred from the above statements? All women...
3.4k
views
answered
Mar 22, 2016
Analytical Aptitude
gate2014-ec-1
analytical-aptitude
logical-reasoning
statements-follow
easy
+
–
8
votes
247
Why are user level threads faster than kernel level threads?
6.9k
views
answered
Mar 22, 2016
9
votes
248
GATE2014 AG: GA-3
Which of the following options is the closest in meaning to the sentence below? $\text{“As a woman, I have no country.” }$ Women have no country. Women are not citizens of any country. Women’s solidarity knows no national boundaries. Women of all countries have equal legal rights.
Which of the following options is the closest in meaning to the sentence below?$\text{“As a woman, I have no country.” }$Women have no country. Women are not citizens...
3.0k
views
answered
Mar 22, 2016
Verbal Aptitude
gate2014-ag
general-aptitude
verbal-aptitude
verbal-reasoning
normal
+
–
14
votes
249
Error during compilation of code..
a = 1+1+1+ 1+1+1 1+1; as far as i think, it will pass the lexical phase.. it should b syntax error.. correct ??
a = 1+1+1+ 1+1+1 1+1;as far as i think, it will pass the lexical phase.. it should b syntax error.. correct ??
1.1k
views
answered
Mar 22, 2016
Compiler Design
compiler-design
lexical-analysis
+
–
Page:
« prev
1
...
4
5
6
7
8
9
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register