Telegram Group 🔥🔥🔥
Get answers in minutes
Questions answered :
48
/50
Answer verified
Assume integer is 2 bytes wide. How many bytes will be allocated for the following code
#include<stdio.h>
#include<stdlib.h>
#define MAXROW 3
#define MAXCOL 4
int main()
{
int (*p)[MAXCOL];
p = (int (*) [MAXCOL])malloc(MAXROW *sizeof(*p));
return 0;
}
🗓 Jun 29, 2021
votes
Deeksha
🌐 India
Can anyone please help me with the explanation?
votes
Kimberly
🌐 India
Thank you so much for the answer
Was your question answered?
Thanks for the feedback! ✅
Want to get famous? 📸
Answer question and get 🤩 high-lighted on our homepage.