C Interview Questions
Questions Answers Views Company eMail

diff. between *p and **p

3 4067

can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).

1 1485

what is ANSI and ISO

HCL,

7 4008




what are far pointers?

1 2735

how to swap 2 numbers in a single statement?

3 3207

how to swap 2 numbers within a single statement?

4 4633

i have a written test for microland please give me test pattern

Microland,

1477

what is the meaning of 'c' language

3 2997




#include void main() { int a [5]; for (i=0; i<=4; i++) printf(“%d” ,a[i]); }

8 4498

Write a program using bitwise operators to invert even bits of a given number.

2 6618

Write a program to find whether the given number is prime or not?

6 7648

Write a program to print the prime numbers from 1 to 100?

7 30629

In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 3337

how to TOGGLE Nth bit of variable in a MACRO

NDS,

1 6881

write a c program to find the square of a 5 digit number and print the result.

Sasken, Accenture, Vimukti Technologies,

5 14425


Post New C Questions






Un-Answered Questions { C }

Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

774


what is bit rate & baud rate? plz give wave forms

817


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

890


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1219


write a c program to calculate sum of digits till it reduces to a single digit using recursion

1963






how to find binary of number?

1897


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

1164


What is your favorite subject?

181


Can you think of a logic behind the game minesweeper.

1022


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

843


Wt are the Buses in C Language

2053


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

1433


difference between object file and executable file

4371


What is the difference between declaring a variable by constant keyword and #define ing that variable?

1642


Hi can anyone tell what is a start up code?

914