• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 1

int i={3,2,4,6}; printf ("%d",i);

Output for this is 3 if curly braces and 6 for normal braces () why is it so https://code.sololearn.com/cZUHjyzX7oKB/?ref=app

c
11th Jun 2019, 8:26 AM
Harsha vardhan
Harsha vardhan - avatar
1 Réponse

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Best way to learn a new programming language fast?
3 Votes
Will i land a job
1 Votes
Why we use oops in python rather than any function ?
2 Votes
why is my leaderboard diferent than my brothers
0 Votes
Project ideas
1 Votes
someone helps how can i make two for loops over a 2d array in c ( i didn't learned pointers yet )
0 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Do you think AI will replace programmers?
0 Votes
Where can I learn c#
0 Votes
Question to sololearn
1 Votes