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
Questions by Priya0612
0
votes
0
answers
1
Array base address and first element address
#include <stdio.h> int main(void) { char a[5] = { 1, 2, 3, 4, 5 }; char *ptr = (char*)(&a + 1); printf("%d %d\n", *(a + 1), *(ptr - 1)); return 0; } what is o/p of this program? how does a and &a denote different things in an array? please explain
#include <stdio.h int main(void) { char a[5] = { 1, 2, 3, 4, 5 }; char *ptr = (char*)(&a + 1); printf("%d %d\n", *(a + 1), *(ptr - 1)); return 0; }what is o/p of this pro...
147
views
asked
Aug 23, 2018
0
votes
1
answer
2
Do we need to study call by name, call by need parameter passing techniques for Gate Cs 2019??
631
views
asked
Aug 21, 2018
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register