• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
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 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I am aiming for speed, power, and control.
2 Votes
What should, I make
3 Votes
How'd does negative and positive slicing works in python??
2 Votes
Variable value
3 Votes
Hi 👋 I'm new to coding
0 Votes
How to start
2 Votes
Python
1 Votes
[NOT QUESTION] Do you think SoloLearn inputs should be improved?
1 Votes
Java or JavaScript?
1 Votes
Âżque debo de hacer para ser un mejor programador?
1 Votes