Monday, May 18, 2020

LG Soft Interview Questions 

1)Difference between class and object ?

2)Difference between Union and Structure ?

3)Dis Advantages of Diamond Inheritance ?

4)Use of Static Variable in class ?

5)What is a Pointer ?

6)What is Memory Leak ?

7)What is Dangling Pointer ?

8)What is Hash Map in C++ ?

9)Difference between private and protected in c++ class ?

10)Write a Program to convert octal to binary ?

11)Write a Program to print the given number in words ?
 
   Ex : Input :1234
           Ouptut :One Thousand Two Hundred Thirty Four.

12)Write a Program to find the given two arrays are equal (or) not ?

 Ex:Input: a1[]={1,2,1,3,1} a2[]-{2,1,3,1,1}
       Output: Both arrays are equal.


13)Write a Program to print 1 to 100,while printing if the number is divisible by 3
     print "Foo",If the number is divisible by 5 print "Bob".If the number is divisible by
     3 & 5 print "FooBob".

3 comments:

  1. Harrah's Casino Hotel Maryland - Hendon Mob Hub
    Harrah's Hotel 대구광역 출장샵 and Casino Baltimore 수원 출장마사지 is a 구미 출장샵 4-star 태백 출장안마 hotel in Maryland. 진주 출장마사지 The casino's 16,000 square foot gaming space features 3,600 slot machines,

    ReplyDelete
  2. I generally want quality and I found that in your post. The blog you have shared about interview questions for class 1 admission is beneficial and significant for us. Keep sharing these kinds of blogs here. Thank you.

    ReplyDelete