Which of the following statements is correct?
Practice Strings –
Which of the following statements is correct?
Which of the following statements is correct?
Practice Strings –
Which of the following statements is correct?
Which of the following statements is correct about an Exception in
Practice Declarations and Initializations –
Which of the following statements is correct about an Exception in a program?
Which of the following CANNOT occur multiple number of times in a p
Practice Library Functions –
Which of the following CANNOT occur multiple number of times in a program?
Can we print enumeration constants in string format?
Practice Structures, Unions, Enums –
Can we print enumeration constants in string format?
Is it necessary that in a function which accepts variable argument
Practice Functions –
Is it necessary that in a function which accepts variable argument list, there should be at least one fixed argument?
Can we pass a variable argument list to a function at the run-time?
Practice Functions –
Can we pass a variable argument list to a function at the run-time?
Which of the following statements is correct?
Practice Memory Allocation –
Which of the following statements is correct?
The global variables are available to all the functions of a file.
Practice Declarations and Initializations –
The global variables are available to all the functions of a file. Is there any way to restrict the use of global variables by only some functions?
#include<stdio.h>
#inclu
Practice Declarations and Initializations –
#include<stdio.h>
#include<math.h>
int main() {
printf("%f
", sqrt(36.0));
return 0;
}
Which bitwise operator is suitable for checking whether a particula
Practice Bitwise Operators –
Which bitwise operator is suitable for checking whether a particular bit is ON or OFF?
Which bitwise operator is suitable for turning OFF a particular bit
Practice Bitwise Operators –
Which bitwise operator is suitable for turning OFF a particular bit in a number?
Is this a correct way for NULL pointer assignment?
Practice Pointers –
Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
#include <stdio.h>
int i;<
Practice Control Instructions –
#include <stdio.h>
int i;
int main()
{
if (i);
else
printf("Else");
return 0;
}
#include <stdio.h>
int mai
Practice Control Instructions –
#include <stdio.h>
int main()
{
int i;
if (printf("0"))
i = 3;
else
i = 5;
printf("%d", i);
return 0;
}
typedef enum error {
warning,
Practice Structures, Unions, Enums –
typedef enum error {
warning, test, exception
} err;