Why in this code there is no output? I think it does not mean, it outputs error. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Why in this code there is no output? I think it does not mean, it outputs error.

#include <stdio.h> int main() { int arr[50]={0,1,2, [47]=47,48,49}; }

20th Jan 2019, 2:53 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Answers
+ 3
because this code declares an array, but does not output it)
20th Jan 2019, 3:11 PM
Игорь Яковенко
Игорь Яковенко - avatar
+ 1
Pls assist me sir Write a program to determined if a number enter in a keyboard is a prime number or not using c++ language
30th Jun 2019, 7:12 AM
ISAH YUSUF (ELOQUENT)
ISAH YUSUF (ELOQUENT) - avatar