1
                           
                           
                              
                           
                           
                           
                           
                                                      
                           
                  
                  
                  
                           
                                                                                 
                           
                              
                                                            
                                 
                                 
                                 
                              
                           
                           
                           
                           
                           
                        
                        
                     
                              Q:
                           
                           
                                                      | A) 1 | B) 2 | 
| C) 3 | D) 4 | 
                              Answer:   B) 2
                              
                                                            
                              
Explanation:
                               
                           
                           Explanation:
There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.
int foo = 123;
int bar (123);
                            
                                                                        Aptitude and Reasoning
                                                                        General Knowledge
                                                                        Puzzles
                                                                        Interviews
                                                                        Technical
                                                                        Certifications
 Exams
 Job
                                                                    Roles
 True or False
 Exams