Skip to content
tejsumeru-logo

Tejsumeru

Thoughts Become Reality
  • Home
  • Tutorials
    • Java
    • C language
    • Python
      • SciPy
    • C++ Language
    • PHP
    • Data Structure
    • Kotlin
    • Go Lang
  • Interview Quetions
  • About Us
tejsumeru-logo

Tejsumeru

Thoughts Become Reality
  • Home
  • Tutorials
    • Java
    • C language
    • Python
      • SciPy
    • C++ Language
    • PHP
    • Data Structure
    • Kotlin
    • Go Lang
  • Interview Quetions
  • About Us

What is the difference between near, far and huge pointers?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

These are some old concepts used in 16 bit Intel architectures in the days of MS DOS, not much useful anymore. Near pointer is used to store 16 bit addresses means within current segment on a 16 bit machine. The limitation is that we can only… Read More »What is the difference between near, far and huge pointers?

Why pre-processor directive does not have a semi-colon at last?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

Semi-colon is needed by the compiler and as the name suggests Preprocessors are programs that process our source code before compilation. Therefore the semi-colon is not required.

Describe the modifier in C?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

Modifier is a prefix to the basic data type which is used to indicate the modification for storage space allocation to a variable. Example– In 32-bit processor storage space for the int data type is 4.When we use it with modifier the storage space change as… Read More »Describe the modifier in C?

Is it possible to use curly brackets ({}) to enclose a single line code in C program?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

Yes, it is working without any error. Some programmers like to use this to organize the code. But the main purpose of curly brackets is to group several lines of codes.

What is the incorrect operator form following list(== , , >= ,

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

Incorrect operator is ‘<>’.This is the format correct when writing conditional statements, but it is not a correct operation to indicate not equal in C programming and it gives compilation error as follows. Code Error

What are entry control and exit control loops?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

C support only 2 loops: Entry Control: This loop is categorized in 2 part a. while loop b. for loop Exit control: In this category, there is one type of loop known as a. do while loop.

Write down the smallest executable code?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

main is necessary for executing the code. Code is void main() { }  

What is a sequential access file?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

In general programs store data into files and retrieve existing data from files. With the sequential access file such data saved in a sequential pattern. When retrieving data from such files each data needs to read one by one until the required information found.

Can a variable be both const and volatile?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

yes, the const means that the variable cannot be assigned a new value. The value can be changed by other code or pointer. For example the following program works fine. int main(void) { const volatile int local = 10; int *ptr = (int*) &local; printf(“Initial… Read More »Can a variable be both const and volatile?

What is volatile keyword?

  • tejsumeru.12@gmail.com tejsumeru.12@gmail.com
  • Interview Quetions

The volatile keyword is intended to prevent the compiler from applying any optimizations on objects that can change in ways that cannot be determined by the compiler. Objects declared as volatile are omitted from optimization because their values can be changed by code outside the… Read More »What is volatile keyword?

  • « Previous
  • 1
  • 2
  • 3
  • 4
  • …
  • 6
  • Next »

Recent Post

  • Step-by-Step Guide to Installing and Configuring Java SpringBoot
  • Setting up SpringBoot for Java Development: Tips, Tricks, and Best Practices
  • Integrating ChatGPT API into Your Android App: A Guide to Building Cutting-Edge Chatbots
  • What is Android Jetpack Compose: An Introduction to Google’s UI Toolkit
  • Efficient Java Microservices with Quarkus: A Guide to Setting Up the Framework




Copyright © 2018 Tejsumeru