Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
karthikmadupu
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by karthikmadupu
1
votes
1
void pointer
#include<stdio.h> int main() { int a[2] = {1, 2}; void *ptr = &a; ptr = ptr + sizeof(int); printf("%d", *(int *)ptr); return 0; } what will be output ... explain in detail
#include<stdio.h>int main(){ int a = {1, 2}; void *ptr = &a; ptr = ptr + sizeof(int); printf("%d", *(int *)ptr); return 0;}what will be output ... explain...
849
views
answered
Jul 24, 2017
3
votes
2
Virtual Gate Test Series: Programming & DS - Output Of The Program
What does the following program print? int data[3][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}; int main(void) { int r, c; for(r = 0; r < 3; r++) for(c = 0; c < 4; c++) if(r != c) printf("%3d,", *(*(data + c) + r) + 10); return 0; }
What does the following program print?int data[3][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}; int main(void) { int r, c; for(r = 0; r < 3; r++) for(c = 0; c < 4; ...
392
views
answered
Mar 27, 2017
Programming in C
programming-in-c
output
virtual-gate-test-series
+
–
3
votes
3
Solve the following Recurrence using any method just help in solving
T(n) = T(n-1) + n
T(n) = T(n-1) + n
649
views
answered
Mar 3, 2017
Algorithms
algorithms
time-complexity
asymptotic-notation
recurrence-relation
+
–
2
votes
4
GATE CSE 2017 Set 2 | Question: GA-2
Saturn is ___________ to be seen on a clear night with the naked eye. enough bright bright enough as enough bright bright as enough
Saturn is ___________ to be seen on a clear night with the naked eye.enough brightbright enoughas enough brightbright as enough
4.2k
views
answered
Feb 21, 2017
Verbal Aptitude
gatecse-2017-set2
verbal-aptitude
english-grammar
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register