can you explain this question , i just want basic experession for understanding it is c programming data structures
can you explain this question , i just want basic experession for understanding it is c programming data structures
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
can you explain this question , i just want basic experession for understanding
it is c
![1)
#include <stdio.h>
#include <stdlib.h>
M
char b[] = "COMPUTER";
main()
PU
{
char *fun(int);
char **v;
v = (char **) calloc(2, sizeof(char *));
v[0] = fun(0);
v[1] = fun(3);
v[1][2] = '\0';
printf("%c\n", *(v[0]+2));
printf("%s\n", v[1]);
}
char *fun(int k)
{
return b+k;
}
//=
II
ii
II
%3D
ii
ii
!!](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F695d2234-b6de-45f4-a5b2-a087c7d4312b%2Fe3136514-5acf-4b71-b708-1c2d78c0a6a9%2F43fvb6v_processed.png&w=3840&q=75)
Transcribed Image Text:1)
#include <stdio.h>
#include <stdlib.h>
M
char b[] = "COMPUTER";
main()
PU
{
char *fun(int);
char **v;
v = (char **) calloc(2, sizeof(char *));
v[0] = fun(0);
v[1] = fun(3);
v[1][2] = '\0';
printf("%c\n", *(v[0]+2));
printf("%s\n", v[1]);
}
char *fun(int k)
{
return b+k;
}
//=
II
ii
II
%3D
ii
ii
!!
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)