How will you free the allocated memory ?

Home | Discussion Forum
Taiyari24Hour

How will you free the allocated memory ?



View More Related Question

2) What is the output of this C code(according to C99 standard)?

#include <stdio.h>
struct p {
int k;
char c;
float f;
};
int main()
{
struct p x = {.c = 97};
printf("%f\n", x.f);
}

3) What is the output of this C code(according to C99 standard)?

#include <stdio.h>
struct p {
int k;
char c;
float f;
};
int main()
{
struct p x = {.c = 97, .k = 1, 3};
printf("%f \n", x.f);
}

4) User-defined data type can be derived by___________

5) What is the output of this C code?

#include <stdio.h>
struct {
int k;
char c;
};
int main()
{
struct p;
p.k = 10;
printf("%d\n", p.k);
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.