Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Technical Questions
»
Programming
What would be the output of the following program? main() { int i = -3, j =2, k =0, m ; m = ++j && ++i || ++k ; Printf ( "\n%d%d%d%d", i , j , k , m ); }
Correct Answer:
-2 3 0 1
← Previous Question
Next Question→
More Questions from
Programming
We want to round off x, a Float to an Int value. The correct way to do so would be
What would be the output of the following program? # define SQR(x) (x * x) main() { int a, b = 3; a = SQR ( b + 2 ); Printf ("\n %d ", a ); }
What is Autosys?
Two main measures for the efficiency of an algorithm are
What is math.floor(3.6)?
What is the output of this C code? #include void main() { int x = 97; char y = x; printf("%cn", y); }
Which of the following is true?
Methods declared as what cannot be overriden?
How would you obtain segment and offset addresses from a far address of a memory location?
What would be the output of the following program, if the array beigns at address 65486? main() { int arr[] = {12,14,15,23,45}; printf ("%u %u", arr, &arr); }
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments