Recent questions in Programming in C

0 votes
1 answer
102
static char{}="NO SUBSTITUTE FOR HARD WORK";Printf("%10.5s", wer);Outputsa) NO SUB) NO SUBSTITC) UTE F
0 votes
1 answer
103
If y is of integer type then the below expression 3*(y-8) / 9 and (y-8) / 9*3 a) must yield different valueB)Must yield same valuec) may or may not yield same valueD) non...
1 votes
1 answer
104
The "go to statement" causes control to go to(a) An operator(b) A label(c) A variable(d) A function
0 votes
2 answers
105
The library function exit ( ) causes as exit from (a) the loop in which it occurs(b) the block is which it occurs(c) the functions in which it occurs(d) the progam in whi...
0 votes
1 answer
106
A program having features such as data abstraction, encapsulation and data hiding, polymorphism inheritance is called(a) Structured program(b) Object oriented program(c) ...
0 votes
1 answer
107
0 votes
1 answer
108
0 votes
0 answers
109
2 votes
2 answers
113
let x be an array of integer . which of the following can not be present in the left hand side of an assignment statementa)x b) x+i c) * (x+i) d) &x[i]
2 votes
3 answers
114
main() {static char a[3][4] = { "abcd", "efgh", "ijkl"};putchar( a); } a) compilation error b) run time errorc)garbage d) none of these
0 votes
2 answers
115
3 votes
1 answer
116
Let x be an array . which of the following operations are illegal and whya) ++x b) x+1 c) x++ d) x - -
0 votes
2 answers
117
#include <stdio.h int total(int v) { static int count=0; while(v){ count+=v&1; v>>=1; } return count; } void main() { // your code goes here static int x=0; int i=5; for(...