Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Programming:
Recent questions tagged programming
0
votes
1
answer
781
UGC NET CSE | December 2012 | Part 2 | Question: 42
Which of the following mode declaration used in C++ to open a file for input? ios : : app in : : ios ios : : file ios : : in
Which of the following mode declaration used in C++ to open a file for input?ios : : appin : : iosios : : fileios : : in
go_editor
2.4k
views
go_editor
asked
Jul 11, 2016
Programming in C
ugcnetcse-dec2012-paper2
programming
file-handling
+
–
0
votes
1
answer
782
UGC NET CSE | December 2012 | Part 2 | Question: 41
Enumeration is a process of Declaring a set of numbers Sorting a list of strings Assigning a legal values possible for a variable Sequencing a list of operators
Enumeration is a process ofDeclaring a set of numbersSorting a list of stringsAssigning a legal values possible for a variableSequencing a list of operators
go_editor
2.5k
views
go_editor
asked
Jul 11, 2016
Programming in C
ugcnetcse-dec2012-paper2
programming
+
–
1
votes
1
answer
783
UGC NET CSE | December 2012 | Part 2 | Question: 29
Which of the following are two special functions that are meant for handling exception, that occur during exception handling itself? Void terminate () and void unexpected() Non void terminate () and void unexpected() Void terminate () and non void unexpected() Non void terminate () and non void unexpected()
Which of the following are two special functions that are meant for handling exception, that occur during exception handling itself?Void terminate () and void unexpected...
go_editor
1.8k
views
go_editor
asked
Jul 11, 2016
Programming in C
ugcnetcse-dec2012-paper2
programming
exception-handling
+
–
1
votes
1
answer
784
UGC NET CSE | December 2012 | Part 2 | Question: 22
In DML, RECONNCT command cannot be used with OPTIONAL Set FIXED Set MANDATOR Set All of the above
In DML, RECONNCT command cannot be used withOPTIONAL SetFIXED SetMANDATOR SetAll of the above
go_editor
2.7k
views
go_editor
asked
Jul 10, 2016
Databases
ugcnetcse-dec2012-paper2
programming
java
bad-question
+
–
1
votes
2
answers
785
UGC NET CSE | December 2012 | Part 2 | Question: 21
Which API is used to draw a circle? Circle () Ellipse () Round Rect () Pie ()
Which API is used to draw a circle?Circle ()Ellipse ()Round Rect ()Pie ()
go_editor
2.5k
views
go_editor
asked
Jul 10, 2016
Programming in C
ugcnetcse-dec2012-paper2
programming
java
bad-question
+
–
1
votes
0
answers
786
A message in Windows programming is actually in the form of :
A message in Windows programming is actually in the form of: A character string A character constant An integer constant A float constant
A message in Windows programming is actually in the form of:A character stringA character constantAn integer constantA float constant
sh!va
217
views
sh!va
asked
Jul 9, 2016
Unknown Category
programming
+
–
0
votes
1
answer
787
UGC NET CSE | December 2012 | Part 2 | Question: 15
What is the size of the Unicode character in Windows Operating System? 8-Bits 16-Bits 32-Bits 64-Bits
What is the size of the Unicode character in Windows Operating System?8-Bits16-Bits32-Bits64-Bits
go_editor
2.3k
views
go_editor
asked
Jul 8, 2016
Programming in C
ugcnetcse-dec2012-paper2
non-gate
programming
+
–
2
votes
2
answers
788
UGC NET CSE | June 2012 | Part 3 | Question: 26
The mechanism that binds code and data together and keeps them secure form outside world is known as Abstraction Inheritance Encapsulation Polymorphism
The mechanism that binds code and data together and keeps them secure form outside world is known asAbstractionInheritanceEncapsulationPolymorphism
go_editor
4.3k
views
go_editor
asked
Jul 7, 2016
Programming in C
ugcnetcse-june2012-paper3
programming
programming-in-c
java
object-oriented-programming
+
–
2
votes
1
answer
789
UGC NET CSE | June 2012 | Part 3 | Question: 1
Consider the following Pseudo-code segment: k:=0 for $i_1$:=1 to n for $i_2$ := 1 to $i_1$ : : : for $i_m$:=1 to $i_{m-1}$ k:=k+1 The value of k after the execution of this code shall be $C(n+m-1, m)$ $C(n-m+1, m)$ $C(n+m-1, n)$ $C(n-m+1, n)$
Consider the following Pseudo-code segment:k:=0for $i_1$:=1 to nfor $i_2$ := 1 to $i_1$:::for $i_m$:=1 to $i_{m-1}$k:=k+1The value of k after the execution of this code s...
go_editor
2.3k
views
go_editor
asked
Jul 6, 2016
Programming in C
ugcnetcse-june2012-paper3
programming
algorithms
+
–
0
votes
3
answers
790
UGC NET CSE | June 2014 | Part 3 | Question: 11
Match the following with respect to the jump statements $:$ ... $\text{a-iv, b-iii, c-ii, d-i}$ $\text{a-iv, b-iii, c-i, d-ii}$
Match the following with respect to the jump statements $:$$\begin{array}{cIcI} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{return} & \text{i.} ...
makhdoom ghaya
1.8k
views
makhdoom ghaya
asked
Jul 4, 2016
Programming in C
ugcnetjune2014iii
programming
programming-in-c
+
–
0
votes
2
answers
791
UGC NET CSE | June 2014 | Part 3 | Question: 10
Code blocks allow many algorithms to be implemented with the following parameters : clarity, elegance, performance clarity, elegance, efficiency elegance, performance, execution execution, clarity, performance
Code blocks allow many algorithms to be implemented with the following parameters :clarity, elegance, performance clarity, elegance, efficiencyelegance, performance, exec...
makhdoom ghaya
1.6k
views
makhdoom ghaya
asked
Jul 4, 2016
Programming in C
ugcnetjune2014iii
programming
non-gate
+
–
0
votes
1
answer
792
UGC NET CSE | June 2014 | Part 2 | Question: 42
When we pass an array as an argument to a function, what actually gets passed ? Address of the array Values of the elements of the array Base address of the array Number of elements of the array
When we pass an array as an argument to a function, what actually gets passed ? Address of the array Values of the elements of the array Base address of the arrayNumber o...
makhdoom ghaya
1.6k
views
makhdoom ghaya
asked
Jul 1, 2016
Programming in C
ugcnetcse-june2014-paper2
programming
programming-in-c
+
–
5
votes
2
answers
793
How to Trace the recursion ?
Can Someone explain either Tree or Stack method to trace out this recursion ? What is the output of this Program ?
Can Someone explain either Tree or Stack method to trace out this recursion ?What is the output of this Program ?
shekhar chauhan
1.6k
views
shekhar chauhan
asked
Jun 28, 2016
Programming in C
programming
data-structures
linked-list
recursion
+
–
1
votes
1
answer
794
UGC NET CSE | December 2013 | Part 3 | Question: 34
______ comparisons are necessary in the worst case to find both the maximum and minimum of n numbers. 2n – 2 n + floor (lg n) – 2 floor ($\frac{3n}{2}$) – 2 2 lg n – 2
______ comparisons are necessary in the worst case to find both the maximum and minimum of n numbers.2n – 2n + floor (lg n) – 2floor ($\frac{3n}{2}$) – ...
Sanjay Sharma
1.4k
views
Sanjay Sharma
asked
Jun 20, 2016
Programming in C
ugcnetcse-dec2013-paper3
programming
+
–
0
votes
1
answer
795
UGC NET CSE | June 2012 | Part 2 | Question: 13
Leaves of which of the following trees are at the same level? A. Binary tree B. B-tree C. AVL-tree D. Expression tree
Leaves of which of the following trees are at the same level?A. Binary treeB. B-treeC. AVL-treeD. Expression tree
shivani2010
3.5k
views
shivani2010
asked
Jun 15, 2016
DS
ugcnetcse-june2012-paper2
programming
tree
+
–
2
votes
2
answers
796
ISRO2008-80
In C, what is the effect of a negative number in a field width specifier? the values are displayed right justified the values are displayed centered the values are displayed left justified the values are displayed as negative numbers
In C, what is the effect of a negative number in a field width specifier?the values are displayed right justifiedthe values are displayed centeredthe values are displayed...
go_editor
4.4k
views
go_editor
asked
Jun 13, 2016
Programming in C
isro2008
programming
programming-in-c
non-gate
+
–
5
votes
4
answers
797
ISRO2007-57
Which of the following programming language(s) provides garbage collection automatically Lisp C++ Fortan C
Which of the following programming language(s) provides garbage collection automaticallyLispC++FortanC
go_editor
4.0k
views
go_editor
asked
Jun 10, 2016
Programming in C
isro2007
programming
runtime-environment
+
–
0
votes
1
answer
798
What is the difference B/W call-by-value and call-by-name ?
Amit Sharma
399
views
Amit Sharma
asked
Jun 3, 2016
Programming in C
programming
+
–
6
votes
3
answers
799
ISRO2009-29
A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting address of A[49] is 1267 1164 1264 1169
A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting addres...
Desert_Warrior
16.2k
views
Desert_Warrior
asked
Jun 3, 2016
Programming in C
isro2009
array
programming
+
–
0
votes
1
answer
800
what is the difference between while (*s++ = *t++) and while (*++s = *++t) ??
Both * and ++ have equal precedence with right to left associativity. So *s++ will be evaluated as *(s++) it means first increase the location of s to next location then get the value from that address and *++s will be evaluated as *(++s) it will also do the same thing then what is the difference ?
Both * and ++ have equal precedence with right to left associativity. So *s++ will be evaluated as *(s++) it means first increase the location of s to next location the...
Priya Brata
890
views
Priya Brata
asked
May 28, 2016
Programming in C
programming
+
–
0
votes
1
answer
801
While
In while loop semicolon at the end of while create infinite loop But in do while(); semicolon at the end of while don't create infinite loop.actually it is correct syntax for do while why?
In while loop semicolon at the end of while create infinite loopBut in do while(); semicolon at the end of while don't create infinite loop.actually it is correct syntax ...
Sourabh Kumar
446
views
Sourabh Kumar
asked
May 16, 2016
Programming in C
programming
+
–
0
votes
0
answers
802
Pgee2016
When in simple c program I write only 3 lines it successfully compiled these 3 lines are: 12334; 'A'; "Abbdv"; But when I edit this program and try some different then it will give compilation error {'A','b','b','d','v','\0'}; {1,2,3,4}; Why it happens in turboc compiler
When in simple c program I write only 3 lines it successfully compiled these 3 lines are:12334;'A';"Abbdv";But when I edit this program and try some different then it wil...
Sourabh Kumar
235
views
Sourabh Kumar
asked
May 16, 2016
Programming in C
programming
+
–
0
votes
1
answer
803
Printf
1:Where I find printf body in turbo c I know the prototype defined in stdio.h header file but body is not there? 2:why without include header file program successfully compiled and run?
1:Where I find printf body in turbo cI know the prototype defined in stdio.h header file but body is not there?2:why without include header file program successfully comp...
Sourabh Kumar
290
views
Sourabh Kumar
asked
May 14, 2016
Programming in C
programming
+
–
0
votes
1
answer
804
Which of the following is not a member of a class ?
A. Static function B. Friend Function C. Const Function D. Virtual function
A. Static functionB. Friend FunctionC. Const FunctionD. Virtual function
im.raj
57.4k
views
im.raj
asked
May 6, 2016
Programming in C
programming-in-c
programming
+
–
7
votes
1
answer
805
GATE CSE 1992 | Question: 10b
Show the activation records and the display structure just after the procedures called at lines marked $x$ and $y$ have started their execution. Be sure to indicate which of the two procedures named $A$ you are referring to. Program Test; Procedure A; Procedure B; Procedure A; begin …… end A; begin y: A; end B; begin B; end A; begin x: A; end Test
Show the activation records and the display structure just after the procedures called at lines marked $x$ and $y$ have started their execution. Be sure to indicate which...
go_editor
1.6k
views
go_editor
asked
Apr 24, 2016
Programming in C
gate1992
parameter-passing
programming
runtime-environment
normal
descriptive
+
–
43
votes
5
answers
806
GATE CSE 2003 | Question: 74
The following program fragment is written in a programming language that allows global variables and does not allow nested declarations of functions. global int i=100, j=5; void P(x) { int i=10; print(x+10); i=200; j=20; print (x); } main() {P(i ... by name parameter passing mechanism, the values printed by the above program are $115, 220$ $25, 220$ $25, 15$ $115, 105$
The following program fragment is written in a programming language that allows global variables and does not allow nested declarations of functions.global int i=100, j=5...
go_editor
13.1k
views
go_editor
asked
Apr 24, 2016
Compiler Design
gatecse-2003
programming
compiler-design
parameter-passing
runtime-environment
normal
+
–
46
votes
4
answers
807
GATE CSE 2012 | Question: 49
Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; prtFun(); printf( \n %d %d , a, b); } void prtFun(void) { static int a = 2; /* Line 2 */ int b = 1; a += ++b ... $\begin{array}{ll} \text{4} & \text{2} \\ \text{4} & \text{2} \\ \text{2} & \text{0} \\ \end{array}$
Consider the following C code segment.int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; prtFun(); printf(“ \n %d %d ”, a, ...
go_editor
10.3k
views
go_editor
asked
Apr 21, 2016
Programming in C
normal
gatecse-2012
programming-in-c
programming
+
–
0
votes
1
answer
808
Valid pointer operation
The valid pointer operation is assigning or comparing to zero in C Can anyone explain this statement?
The valid pointer operation is assigning or comparing to zero in CCan anyone explain this statement?
Beyonder
672
views
Beyonder
asked
Apr 16, 2016
Programming in C
programming-in-c
programming
+
–
0
votes
3
answers
809
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...
bad_engineer
630
views
bad_engineer
asked
Mar 13, 2016
Programming in C
barc2016
programming
others
geeks
+
–
1
votes
2
answers
810
Java
Why c is faster than java.
Why c is faster than java.
Sourabh Kumar
1.0k
views
Sourabh Kumar
asked
Feb 13, 2016
Programming in C
programming
+
–
Page:
« prev
1
...
22
23
24
25
26
27
28
29
30
31
32
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register