GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

What is the output of the following code?  char str1[] = “He…

What is the output of the following code?  char str1[] = “Hello”; char str2[] = “hello”; printf(“%d”, strcmp(str1, str2));

Read Details

What is the output of the following code?  struct Point { in…

What is the output of the following code?  struct Point { int x, y; }; struct Point points[2] = {{10, 20}, {30, 40}}; struct Point *p = points; printf(“%d”, (p+1)->x);

Read Details

What is the output of the following code?  int nums[3][3] =…

What is the output of the following code?  int nums[3][3] = {{10, 20, 30}, {40, 50, 60}, {70, 80, 90}}; printf(“nums[1][2] = %d *(* (nums + 1) + 2) = %d\n”, nums[1][2], *(*(nums + 1) + 2));

Read Details

What is the output of the following code?  char str1[] = “te…

What is the output of the following code?  char str1[] = “test string”; char *ptr = strchr(str1, ‘t’); printf(“%ld”, ptr – str1);

Read Details

Which of the following allocates memory for a 2D array of in…

Which of the following allocates memory for a 2D array of int (5×5)?

Read Details

What is the output of the following code if file.txt contain…

What is the output of the following code if file.txt contains:  line1 line2 FILE *fp = fopen(“file.txt”, “r”); char str[10]; fgets(str, 10, fp); printf(“%s”, str); fclose(fp);

Read Details

At present, India’s economy ranks just below that of the Com…

At present, India’s economy ranks just below that of the Commonwealth of Independent States. What factors were key in transitioning the country’s financial situation into being largely successful: 

Read Details

Formally known as East Pakistan, this country struggled to b…

Formally known as East Pakistan, this country struggled to become independent in 1971. It has great amounts of fertile soil but is an extremely poor country with major natural hazards (mainly flooding):  

Read Details

Short Discussion: Based on the lecture and You Tube video de…

Short Discussion: Based on the lecture and You Tube video define and describe the Green Revolution. Include in your answer the general results of the Green Revolution for India: 

Read Details

The South Asia countries of Nepal, Bhutan, Afghanistan, Sri…

The South Asia countries of Nepal, Bhutan, Afghanistan, Sri Lanka, Maldives all have similarities. However, which of the following selections does NOT follow this pattern: 

Read Details

Posts pagination

Newer posts 1 … 37,499 37,500 37,501 37,502 37,503 … 94,940 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top