C Linux Code/Question asked in recent real company interviews

Common GDB Debugging Question

How to attach gdb with running process

Remote Debugging using gdb

How to debug multi threaded application using gdb

Advance debugging C/C++ code in GDB in Linux

You may also like:

  Singleton Design Pattern example in C++

C++ program to overload operator+ for string concatenation

Copy constructor Overloaded assignment operator Destructor and default constructor implementation in C++

Purpose of run time Polymorphism in C++/CPP.


C Linux Code for user defined string routines strcmp strcpy strcat strrev strstr strlen

 

CMakeLists.txt and cmake interview questions

 

 

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Debugging, Debugging Multithreaded application, GDB, remote debugging

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

C++/Qt Interview Questions

  • Data Structure
  • Design Pattern
  • Qt
  • Thread
  • class

Popular Posts

  • Concurrent Server handling Multiple Clients Code in C in Linux Platform
    //TCP SERVER Concurrent: multiple clients can be handled by this server //Now second client no need to wait for first client to close by fi...
  • Frequently asked questions in Qt interviews
    FAQ in Qt interviews: Q) What is Qt? Qt is a Framework that comprises of several classes that form the Qt object model. The root of thi...
  • C Linux Code for multi threaded socket client/Server file sharing ftp
    C Linux Code for: 1.Client sends a file name request 2.Server replies with the content if file exists 3.Server saves the file contenet recei...
  • make and makefile interview questions
    Source code can be found here .  Just download or clone and build by running command "make". Q)What is make? ->make is a bui...
  • Frequently asked thread questions in C Linux
    Q)When should thread be used? Threading could be used in operations required like: i)Asynchronous operations ii)Operations that can be pa...
  • Iterative TCP echo Server Code in C in Linux Platform
    //TCP SERVER Iterative: only one client is handled //if next client sends any thing the server will not receive till first client is not cl...
  • Threaded Concurrent echo TCP Server Code in C in Linux Platform
    //TCP SERVER Concurrent:muliple clients can be handled by this server //Now second client no need to wait for first client to close by fini...
  • C++ STL interview questions
    Q) What do you mean by " every iterator and reference after the point of resize/erase is invalidated "?(except when erased membe...
  • What are QML FAQ in interviews?
    Q) What is Qml ? QML is the name of the language (just like C++, which is another language...) QML stands for Qt Meta Language or Qt Model...
  • C Linux Code for user defined string routines strcmp strcpy strcat strrev strstr strlen
    String library function strcmp, strcpy, strcat, strrev, strstr,strlen without using built in library function in one place //1.strStr: c ...

Search This Blog

Archive Posts

  • ►  2013 (44)
    • ►  September (7)
    • ►  October (25)
    • ►  November (2)
    • ►  December (10)
  • ►  2014 (30)
    • ►  January (5)
    • ►  February (21)
    • ►  October (3)
    • ►  December (1)
  • ►  2015 (8)
    • ►  January (1)
    • ►  February (4)
    • ►  March (3)
  • ▼  2016 (29)
    • ►  August (9)
    • ►  September (7)
    • ▼  October (12)
      • What are QML FAQ in interviews?
      • STL Map all operations example - map all algorithms
      • C++ STL interview questions
      • C Program for sorting an array using Bubble Sort a...
      • C program to find common numbers in two sorted arr...
      • C program to merge two sorted arrays. Array Union
      • C program to convert Decimal to binary, binary to ...
      • C program to find frequency of each character in a...
      • How to debug multi threaded application using gdb
      • Remote Debugging using gdb
      • How to attach gdb with running process
      • Common GDB Debugging Question
    • ►  December (1)
  • ►  2017 (18)
    • ►  March (1)
    • ►  April (3)
    • ►  May (6)
    • ►  June (5)
    • ►  August (3)
www.cLinuxCode.blogspot.in lets you explore how to use concepts in C/ C++ in a very lucid manner.data structure codes,array,strings,malloc, calloc, free, pointers, array, function, structure, array of, C FAQ C++,Real C interview codes/programs/questions asked in real company interviews

Labels

  • algorithm
  • apt-get
  • ARP
  • array
  • array intersection
  • attaching running application to gdb
  • big endian
  • Binary to Decimal
  • bits
  • Bubble Sort
  • C Linux Code
  • C++
  • callback function
  • casting
  • Cisco
  • class
  • cmake
  • CmakeLists.txt
  • const_cast
  • Copy Constructor
  • cpp
  • Data Structure
  • Data Travel
  • Dbus
  • Debugging
  • Debugging Multithreaded application
  • Decimal to Binary
  • Design Pattern
  • destructor
  • Deugging
  • Diamond problem
  • Dynamic Memory Allocation
  • dynamic_cast
  • endianness
  • factorial
  • Factory
  • Fibonacci
  • file
  • find
  • frequency count of each character
  • friend function
  • function pointer
  • GDB
  • gdb server
  • Header File
  • initializer list
  • Insertion Sort
  • IPC
  • label
  • leaktracer
  • leap year
  • Library
  • lineedit
  • Linked List
  • Linux/Unux
  • List
  • little endian
  • logger
  • Loop Detection in Linked List
  • make
  • makefile
  • Map
  • memory leak
  • merge two sorted arrays
  • message Queue
  • Middle of Linked List
  • moc
  • Multi threading
  • Multiple inheritance
  • mutex
  • Networking
  • nmake
  • numbers
  • observer Design pattern
  • operator overloading
  • overloading
  • package manager in Unix
  • palindrome
  • Pallindrom
  • Pointer
  • Polymorphism
  • posix
  • prime
  • Pthread
  • Pushbutton
  • Qml
  • Qt
  • QThread
  • QtThread
  • Queue
  • queue using array
  • Queue using Linked List
  • reference
  • reinterpret_cast
  • remote debugging
  • reverse
  • reverse a number
  • Reverse String
  • rpm
  • Run time polymorphism
  • Script
  • semaphore
  • Set
  • Shell
  • Shifting Zeros to end of array
  • Signal and slot
  • singleton
  • Socket
  • Sorted Array Deletion
  • sorted array insertion
  • sorting
  • stack
  • stack using array
  • stack using linked list
  • State Design pattern
  • State Machine Design Pattern
  • static_cast
  • STL
  • strings
  • structure
  • Sum of digits of a number
  • Template
  • Thread
  • Tree
  • valgrind
  • Vector

Design Pattern

  • Design Pattern
  • Factory
  • callback function
  • logger
  • observer Design pattern
  • singleton

C++ Cpp C Plus Plus

  • C++
  • Copy Constructor
  • Deugging
  • Dynamic Memory Allocation
  • Header File
  • Map
  • Pointer
  • Polymorphism
  • Pthread
  • Queue using Linked List
  • Run time polymorphism
  • STL
  • Template
  • Thread
  • Vector
  • casting
  • class
  • const_cast
  • cpp
  • destructor
  • dynamic_cast
  • file
  • function pointer
  • initializer list
  • overloading
  • queue using array
  • reference
  • reinterpret_cast
  • singleton
  • static_cast
  • structure

Data Structure

  • Data Structure
  • Dynamic Memory Allocation
  • Fibonacci
  • GDB
  • Header File
  • Linked List
  • Loop Detection in Linked List
  • Middle of Linked List
  • Pointer
  • Pthread
  • Queue
  • Queue using Linked List
  • STL
  • Shifting Zeros to end of array
  • Sorted Array Deletion
  • Tree
  • Vector
  • array
  • big endian
  • bits
  • callback function
  • endianness
  • factorial
  • file
  • function pointer
  • leap year
  • little endian
  • merge two sorted arrays
  • mutex
  • numbers
  • palindrome
  • prime
  • queue using array
  • reverse
  • reverse a number
  • semaphore
  • sorted array insertion
  • sorting
  • stack
  • stack using array
  • stack using linked list
  • strings
  • structure

Networking IPC

  • Cisco
  • Data Structure
  • Header File
  • IPC
  • Networking
  • Pthread
  • Socket
  • Thread
  • big endian
  • bits
  • file
  • little endian
  • mutex
  • posix
  • semaphore

Linux Unix Debugging

  • ARP
  • GDB
  • Library
  • Linux/Unux
  • Script
  • Shell
  • Thread
  • apt-get
  • endianness
  • little endian
  • package manager in Unix
  • posix
  • rpm

About Me

Raj
View my complete profile

Visits

Qt Qml

  • Dbus
  • Pthread
  • Pushbutton
  • QThread
  • Qml
  • Qt
  • QtThread
  • Signal and slot
  • label
  • lineedit
  • moc
  • posix
Picture Window theme. Powered by Blogger.