main.cpp: In function ‘int main()’: main.cpp:5:12: error: expected unqualified-id before numeric constant int a= 10,20,30; ^~ Learn & Test Your Skills Python MCQsJava MCQsC++ MCQsC MCQsJavaScript MCQsCSS MCQsjQuery MCQsPHP MCQsASP.Net MCQs ...
Java - Encapsulation Java - Multithreading Java - Serialization Java Operator & Types Java - Operator Java - Logical Operators Java - Conditional Operator Java - Assignment Operator Java - Shift Operators Java - Bitwise Complement Operator Java Constructor & Types Java - Constructor Java - Copy Const...
Functions are special in that they have an optional name property and a code property (which is the body of the function that actually does stuff). The function's code is executed by the invocation operator (). // JavaScript functions are declared with the `function` keyword. // This is...
Java - OOPS Benefits Java - Procedural Vs OOP's Java - Polymorphism Java - Encapsulation Java - Multithreading Java - Serialization Java Operator & Types Java - Operator Java - Logical Operators Java - Conditional Operator Java - Assignment Operator Java - Shift Operators Java - Bitwise Complement...