Special welcome gift. Get 50% off your first courses with code “AS50”. Find out more!

C Q/A

Showing 1 - 10 of 52 results
Static variables in the C programming language are used to preserve the data values between function calls even after they...
  • C Q/A
  • November 22, 2023
Scope in a programming language is the block or a region where a defined variable will have its existence and...
  • C Q/A
  • November 22, 2023
Each variable in C has an associated data type. Each data type requires different amounts of memory and has some...
  • C Q/A
  • November 22, 2023
Import is a keyword, but #include is a statement processed by pre-processor software. #include increases the size of the code.  
  • C Q/A
  • November 22, 2023
Variable initialization refers to the process of assigning a value to the variable before it is used in the program....
  • C Q/A
  • November 22, 2023
the newline escape sequence denoted by \n is used to insert a newline character into a string.
  • C Q/A
  • November 22, 2023
No, we cannot use the ‘if’ function to compare two strings. The ‘if’ function compares numerical and single character values....
  • C Q/A
  • November 22, 2023
The scope of a global symbol can be resolved by using the extern storage, which extends the visibility or scope...
  • C Q/A
  • November 22, 2023
Both prefix increment and postfix increment do what their syntax implies, i.e. increment the variable by 1. The prefix increment...
  • C Q/A
  • November 22, 2023
Below is the program to check the prime number in C: #include < stdio.h > #include < conio.h > void...
  • C Q/A
  • November 22, 2023