GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

How are electronic records destroyed? 

How are electronic records destroyed? 

Read Details

How can pointers be used to return multiple values from a fu…

How can pointers be used to return multiple values from a function?

Read Details

Which of the following is true about arrays and pointers in…

Which of the following is true about arrays and pointers in C?

Read Details

What is the correct way to initialize a pointer to NULL in C…

What is the correct way to initialize a pointer to NULL in C?

Read Details

Function prototypes are optional in C.

Function prototypes are optional in C.

Read Details

What does the ‘static’ keyword do when used inside a functio…

What does the ‘static’ keyword do when used inside a function?

Read Details

What will be the output of the following code snippet? #incl…

What will be the output of the following code snippet? #include void function(int *x) { (*x)++; } int main() { int a = 5; function(&a); printf(“%d\n”, a); return 0; }

Read Details

Pointers can be used to manipulate strings in C.

Pointers can be used to manipulate strings in C.

Read Details

What does the following code snippet demonstrate? #include…

What does the following code snippet demonstrate? #include void function(int *arr, int size) { int temp; for (int i = 0; i < size / 2; i++) { temp = arr[i]; arr[i] = arr[size - 1 - i]; arr[size - 1 - i] = temp; } } int main() { int arr[] = {1, 2, 3, 4, 5}; function(arr, 5); for (int i = 0; i < 5; i++) { printf("%d ", arr[i]); } printf("\n"); return 0; }

Read Details

What is the entry point of a C program?

What is the entry point of a C program?

Read Details

Posts pagination

Newer posts 1 … 43,861 43,862 43,863 43,864 43,865 … 80,117 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top