• Post Reply Bookmark Topic Watch Topic
  • New Topic

Round-up Game #105

 
Steve Gass
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings, I'm enjoying working through your practice exams. This question asks if int x[] = {2,7,4,9); is legal. AFAIK a curly brace can't be closed by a paren, which would mean that it isn't legal.

Steve
 
Steve Gass
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, it seems that all closing braces are being rendered as parens on my system, so my report probably isn't accurate. Sorry.

Steve
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!