Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

how to get starting address of a running C program

3 6162

How to print "Hi World" without using semi colon?

Infosys,

6 10493

How to print "I Love My India" without using semi colon?

4 8130

What is Full Form of C and Why We use C

23 49602

I want tcs placement papers of 2004-2009 , its urgent

TCS, Wipro,

6 9151

what is pointer?

4 6223

second highest number in a given set of numbers

TCS,

3 9353

to get a line of text and count the number of vowels in it

2 5843

number of times a digit is present in a number

2039

to get a line of text and count the number of vowels in it

Satyam,

3 16425

what is the structure?

TCS,

4 6820

Write a c program to print the sizes and ranges of different data types in c?

1 9666

Write a c program to demonstrate character and string constants?

2192

Write a c program to demonstrate Type casting in c?

2 7133

Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....

2 10550


Post New C Questions

Un-Answered Questions { C }

Difference between strcpy() and memcpy() function?

1149


List some of the static data structures in C?

1202


In C language, a variable name cannot contain?

1278


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

2157


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1087


Which header file is essential for using strcmp function?

1484


How many types of sorting are there in c?

1061


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1722


What is function prototype?

1146


Is c a great language, or what?

1123


What is the difference between array and structure in c?

1171


What is output redirection?

1223


what are the different storage classes in c?

1184


I need testPalindrome and removeSpace #include #define SIZE 256 /* function prototype */ /* test if the chars in the range of [left, right] of array is a palindrome */ int testPalindrome( char array[], int left, int right ); /* remove the space in the src array and copy it over to the "copy" array */ /* set the number of chars in the "copy" array to the location that cnt points t */ void removeSpace(char src[], char copy[], int *cnt); int main( void ) { char c; /* temporarily holds keyboard input */ char string[ SIZE ]; /* original string */ char copy[ SIZE ]; /* copy of string without spaces */ int count = 0; /* length of string */ int copyCount; /* length of copy */ printf( "Enter a sentence:\n" ); /* get sentence to test from user */ while ( ( c = getchar() ) != '\n' && count < SIZE ) { string[ count++ ] = c; } /* end while */ string[ count ] = '\0'; /* terminate string */ /* make a copy of string without spaces */ removeSpace(string, copy, ©Count); /* print whether or not the sentence is a palindrome */ if ( testPalindrome( copy, 0, copyCount - 1 ) ) { printf( "\"%s\" is a palindrome\n", string ); } /* end if */ else { printf( "\"%s\" is not a palindrome\n", string ); } /* end else */ return 0; /* indicate successful termination */ } /* end main */ void removeSpace(char src[], char copy[], int *cnt) { } int testPalindrome( char array[], int left, int right ) { }

2686


What is function definition in c?

1077