| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| The differences between Windows XP and Windows Visa
| HCL | 7 |
| write a program to sort the elements in a given array in c
language | | 2 |
| write a program in c language for the multiplication of two
matrices using pointers? | Ignou | 5 |
| can we access one file to one directory? | | 1 |
| I have an array of 100 elements. Each element contains some
text. i want to:
append a star character to the end of every fifth element
remove every second character from every tenth element,
and…
add a line feed (ascii 10) after the 30th character of
every array element whose length is greater than 30
characters. | | 1 |
| what is array? | | 6 |
| What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
} | ADITI | 5 |
| write a c program to accept a given integer value and print
its value in words | | 3 |
| palindrome for strings and numbers----Can anybody do the
prog? | TCS | 6 |
| 1.what are local and global variables?
2.what is the scope of static variables?
3.what is the difference between static and global variables?
4.what are volatile variables?
5.what is the use of 'auto' keyword?
6.how do we make a global variable accessible across files?
Explain the extern keyword?
7.what is a function prototype?
8.what does keyword 'extern' mean in a function declaration?
| | 1 |
| program to find a smallest number in an array | Microsoft | 5 |
| Write a program to print all the prime numbers with in the
given range | ABC | 1 |
| #define d 10+10
main()
{
printf("%d",d*d);
} | | 3 |
| CopyBits(x,p,n,y)
copy n LSBs from y to x starting LSB at 'p'th position. | Adobe | 4 |
| write a programe returns the number of times the character
appears in the string | | 1 |
| write the program for maximum of the following numbers?
122,198,290,71,143,325,98 | | 4 |
| Reverse the part of the number which is present from
position i to j. Print the new number.[without using the array]
eg:
num=789876
i=2
j=5
778986 | | 2 |
| difference between i++* and *++i | IBM | 3 |
| How to reverse a string using a recursive function, with
swapping? | | 4 |
| I have an array of 100 elements, each of which is a random
integer. I want to know which of the elements:
a) are multiples of 2
b) are multiples of 2 AND 5
c) have a remainder of 3 when divided by 7 | | 1 |
| |
| For more C Interview Questions Click Here |