Add office photos
Engaged Employer

LG Soft India

3.1
based on 545 Reviews
Video summary
Filter interviews by

Iccp Infotech Interview Questions and Answers

Updated 26 Dec 2024

Q1. Difference between macro and functions

Ans.

Macros are preprocessor directives that are replaced before compilation, while functions are blocks of code that are executed at runtime.

  • Macros are defined using #define directive, while functions are defined using function keyword.

  • Macros are expanded by the preprocessor before compilation, while functions are executed at runtime.

  • Macros can be used for simple text replacement, while functions can perform complex operations.

  • Macros do not have type checking, while functions hav...read more

Add your answer

Q2. Difference between exec and fork

Ans.

exec replaces the current process with a new one, while fork creates a new process.

  • exec replaces the current process with a new one, while fork creates a new process

  • exec system call loads a new program into the current process's memory space and starts its execution

  • fork system call creates a new process by duplicating the existing process

Add your answer

Q3. Code to write list creation in dsa and so many

Ans.

Implement list creation in data structures and algorithms

  • Use an array to store the elements of the list

  • Implement functions to add, remove, and access elements in the list

  • Consider using a linked list for more efficient insertion and deletion operations

Add your answer

Q4. Name the storage classes and explain the uses

Ans.

Storage classes in C are auto, register, static, and extern. They control the scope and lifetime of variables.

  • Auto - default storage class for local variables, stored in stack memory

  • Register - stored in CPU registers for faster access

  • Static - retains its value between function calls, stored in data segment

  • Extern - used to access global variables across multiple files

Add your answer
Discover Iccp Infotech interview dos and don'ts from real experiences

Q5. What are storage classes in c

Ans.

Storage classes in C define the scope and lifetime of variables.

  • There are four storage classes in C: auto, register, static, and extern.

  • Auto variables are local to the block they are declared in and are automatically destroyed when the block exits.

  • Register variables are stored in CPU registers for faster access.

  • Static variables retain their value between function calls.

  • Extern variables are declared outside of any function and can be accessed by multiple files.

Add your answer

Q6. overriding in oops concept

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Iccp Infotech

based on 7 interviews
Interview experience
4.4
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.9
 • 215 Interview Questions
3.6
 • 204 Interview Questions
4.2
 • 191 Interview Questions
3.4
 • 174 Interview Questions
3.7
 • 169 Interview Questions
3.8
 • 135 Interview Questions
View all
Top LG Soft India Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter