Skip to content

Quiz Lookup

  • Home
  • Blog

Blog

The following are incorrect statements regarding data type c…

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

Published August 9, 2021
Categorized as Uncategorized

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

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

Published August 9, 2021
Categorized as Uncategorized

The following C/C++ code does not compile. Describe what cou…

The following C/C++ code does not compile. Describe what could be the problem. int main() { int a = 2 , h= 10; printf(“The volume of the cylinder is %d\n”,2*PI*a*h); return 0; }

Published August 9, 2021
Categorized as Uncategorized

The following are incorrect statements regarding C/C++ chara…

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

Published August 9, 2021
Categorized as Uncategorized

The following sentence will convert the signed integer varia…

The following sentence will convert the signed integer variable sInt into an unsigned integer. unsigned int uInt =(unsigned int) sInt; Mention the condition(s) that must be checked for the code to be secure before this previous command is executed.

Published August 9, 2021
Categorized as Uncategorized

Write a set of C conditional statements that will print “Too…

Write a set of C conditional statements that will print “Too High” if the value of an integer variable height is bigger than 3, print “Normal” if the value of height is bigger than 2, but smaller than or equal to 3, or print “Too Low” otherwise.

Published August 9, 2021
Categorized as Uncategorized

The following C/C++ code does not compile. Describe what cou…

The following C/C++ code does not compile. Describe what could be the problem. int main() { int width = 2 , height, length = 10, ; printf(“The volume of the box is %d\n”,width*height*length); return 0; }  

Published August 9, 2021
Categorized as Uncategorized

The number -13 stored as a signed char in RAM with a two’s c…

The number -13 stored as a signed char in RAM with a two’s complement format becomes:

Published August 9, 2021
Categorized as Uncategorized

Write just one line of code that uses malloc or calloc to cr…

Write just one line of code that uses malloc or calloc to create an array of 30 double values, all initialized to zero.

Published August 9, 2021
Categorized as Uncategorized

The following are incorrect statements regarding floating po…

The following are incorrect statements regarding floating point values and variables in C/C++, except:

Published August 9, 2021
Categorized as Uncategorized

Posts pagination

Newer posts Page 1 … Page 39,972 … Page 62,348 Older posts
Powered by Studyeffect
  • Privacy Policy
  • Terms of Service
Quiz Lookup
Proudly powered by WordPress.