Looking for Coding Café test answers and solutions? Browse our comprehensive collection of verified answers for Coding Café at dle.plaksha.edu.in.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Which of the following function declarations correctly accepts an integer array and its size as parameters?
Given the following declarations:
int num [10] = {23, 3, 5, 7, 4, -1, 6, 12, 10, -23}; int i = 2;Write an expression that evaluates to the same value as *(num + i).
What does the strcmp() function return if the two strings it receives as arguments are the same?
What happens if you modify the elements of an array inside a function that received it as a parameter?
In the below statement, x and y are uninitialized pointers to int. That is, they are pointing to some random address that may or may not be valid address.
int * x, y;
What is the ASCII value of the NUL character (\0) used to terminate a string?
Fix the bugs in the following program by rewriting only those statement(s) that need to be modified:
#include <stdio.h>int main() { int *ptr, i = 10; ptr = &i; i += 20; printf("Value of i is %d and is stored at %d.\n", ptr, *ptr); return 0;}
Which operator is used to access the value stored at the address held by a pointer?
What is the significance of the *ptr notation on the left-hand side (LHS) of an assignment statement?
Given the following code:
1 int arr[] = {5, 10, 15, 20, 25, 30};2 int *ptr1 = arr;3 int *ptr2 = ptr1 + 5;
If the base address of arr is 4001, what will be the value of
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!