Skip to content
Tejsumeru

Thoughts Become Reality

  • Tutorials
  • Video Tutorial
  • Tutorials
  • Video Tutorial
  • Interview Quetions

    What are entry control and exit control loops?

    December 16, 2019 - By tejsumeru.12@gmail.com

    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.

    Continue Reading
  • Interview Quetions

    Write down the smallest executable code?

    December 16, 2019 - By tejsumeru.12@gmail.com

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

    Continue Reading
  • Interview Quetions

    What is a sequential access file?

    December 16, 2019 - By tejsumeru.12@gmail.com

    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.

    Continue Reading
  • Interview Quetions

    Can a variable be both const and volatile?

    December 16, 2019 - By tejsumeru.12@gmail.com

    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 value of local : %d \n", local); *ptr = 100; printf("Modified value of local: %d \n", local); return 0; }  

    Continue Reading
  • Interview Quetions

    What is volatile keyword?

    December 16, 2019 - By tejsumeru.12@gmail.com

    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 scope of current code at any time.

    Continue Reading
  • Interview Quetions

    What is the behavioral difference when include header file in double quotes (“”) and angular braces ()?

    December 16, 2019 - By tejsumeru.12@gmail.com

    When the Header file includes within double quotes (“”), compiler search first in the working directory for the particular header file. If not found then in the built-in the include path. But when the Header file includes within angular braces (<>), the compiler only searches in the working directory for the particular header file.

    Continue Reading
  • Interview Quetions

    What are the valid places to have keyword “Break”?

    December 16, 2019 - By tejsumeru.12@gmail.com

    The purpose of the Break keyword is to bring the control out of the code block which is executing. It can appear only in Looping or switch statements.

    Continue Reading
  • Interview Quetions

    How will you print numbers from 1 to 100 without using loop?

    December 16, 2019 - By tejsumeru.12@gmail.com

    We can use recursion for this purpose. void printNos(unsigned int n) { if(n > 0) { printNos(n-1); printf("%d ", n); } }  

    Continue Reading
  • Interview Quetions

    What is a nested loop?

    December 16, 2019 - By tejsumeru.12@gmail.com

    A loop running within another loop is referred to as a nested loop. The first loop is called the Outer loop and inside the loop is called the Inner loop. The inner loop executes the number of times define an outer loop.

    Continue Reading
  • Interview Quetions

    There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affects when debugging?

    December 16, 2019 - By tejsumeru.12@gmail.com

    This concept called commenting out and is the way to isolate some part of the code which scans possible reason for the error. Also, this concept helps to save time because if the code is not the reason for the issue it can simply uncomment.

    Continue Reading
 Older Posts
Newer Posts 

Categories

  • AI
  • Android With Java
  • Android With Kotlin
  • C language
  • C++ Language
  • Computer Vision
  • Data Structure
  • Design
  • Error Solving
  • Flutter
  • Go Lang
  • Interview Quetions
  • Java
  • Javascript
  • Kotlin
  • Machine Learning
  • MATLAB
  • PHP
  • Python
  • SciPy
  • Technology
  • Tutorials
  • Uncategorized
  • Wordpress
Graceful Theme by Optima Themes