What will be the output of the following C code?
#include <assert.h>
#include <stdio.h>
void main()
{
int n=12;
char str[50]="";
assert(n >= 10);
printf(" output: %d\n", n);
assert(str != NULL);
printf("output: %s\n", str);
}
#include <assert.h>
#include <stdio.h>
void main()
{
int n=12;
char str[50]="";
assert(n >= 10);
printf(" output: %d\n", n);
assert(str != NULL);
printf("output: %s\n", str);
}A. output: 12
output:
B. output: 12
C. output: 12
assertion error
D. error
Answer: Option C

Join The Discussion