Skip to content

Quiz Lookup

  • Home
  • Blog

Blog

The following are incorrect statements regarding files in C/…

The following are incorrect statements regarding files in C/C++, except:

Published August 9, 2021
Categorized as Uncategorized

The following are correct statements regarding data type con…

The following are correct statements regarding data type conversions in C/C++, except:

Published August 9, 2021
Categorized as Uncategorized

The following are correct statements regarding C/C++ charact…

The following are correct statements regarding C/C++ characters, except:

Published August 9, 2021
Categorized as Uncategorized

Consider the following piece of C/C++ code inside a file: ex…

Consider the following piece of C/C++ code inside a file: extern int var1;float var2 = 3.14159;void f1 (float var3) {    int *var4;     // …other commands} The following are correct statements regarding the C/C++ statements above, except:

Published August 9, 2021
Categorized as Uncategorized

The following function receives a pointer to an float array…

The following function receives a pointer to an float array void setValue(float * q) { Mention the condition(s) that must be checked inside the function before the pointer is used.

Published August 9, 2021
Categorized as Uncategorized

Write a for-loop to print all integer numbers between 39 to…

Write a for-loop to print all integer numbers between 39 to 57, while preventing out of bound errors:

Published August 9, 2021
Categorized as Uncategorized

The following line correctly declares an array that will hol…

The following line correctly declares an array that will hold 12 integer numbers:

Published August 9, 2021
Categorized as Uncategorized

Consider the following piece of C/C++ code: int a = 4, b = 5…

Consider the following piece of C/C++ code: int a = 4, b = 5, c = 3;int *p = &a , *q = &c ;*q *= (*p)*b; The value of the variable c after the previous code is executed will be:

Published August 9, 2021
Categorized as Uncategorized

Consider the following piece of C/C++ code inside a file: ex…

Consider the following piece of C/C++ code inside a file: extern int var1 = 7;float var2 = 1.4142;void f1 (float var3) {    float *var4 = &var3;     // …other commands} The following are correct statements regarding the C/C++ statements above, except:

Published August 9, 2021
Categorized as Uncategorized

The following function receives a pointer to an integer arra…

The following function receives a pointer to an integer array void getValue(int * p) { Mention the condition(s) that must be checked inside the function before the pointer is used.

Published August 9, 2021
Categorized as Uncategorized

Posts pagination

Newer posts Page 1 … Page 34,223 … Page 56,601 Older posts
Powered by Studyeffect
  • Privacy Policy
  • Terms of Service
Quiz Lookup
Proudly powered by WordPress.