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...



Programming Languages Interview Questions
Questions Answers Views Company eMail

write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }

1 4289

Difference between debugging, running, executing of an application

HCL,

4064

write a program which best describes polymorphism in real world?

CTS, Infosys, NexGen,

2 9626

what is c programing

Wipro,

11 15442

Write a program to read the data and evaluate the results of the election. Print all output to the screen. Your output should specify: The total number of votes, the number of valid votes and the number of spoilt votes. The winner(s) of the election. Hint: An appropriate search should be used to determine the winner(s). The votes obtained by each candidate sorted in terms of the number of votes obtained. Hint: An appropriate sort should be used to sort the candidate(s). The Source code should be saved as VotingSystem. Project Input: Candidates’ Names and Numbers 2501 Victor Taylor 2502 Denise Duncan 2503 Kamal Ramdhan 2504 Michael Ali 2505 Anisa Sawh 2506 Carol Khan 2507 Gary Owen Votes 3 1 2 5 4 3 5 3 5 3 2 8 1 6 7 7 3 5 6 9 3 4 7 1 2 4 5 5 1 4 0 Project Output: Invalid vote: 8 Invalid vote: 9 Number of voters: 30 Number of valid votes: 28 Number of spoilt votes: 2 The winner(s): 2503 Kamal Ramdhan 2505 Anisa Sawh Candidate Score 2503 Kamal Ramdhan 6 2505 Anisa Sawh 6 2501 Victor Taylor 4 2504 Michael Ali 4 2502 Denise Duncan 3 2507 Gary Owen 3 2506 Carol Khan 2

3166

How do you print for example the integers 3,2,1,5,4 in a binary tree within the console in format where it looks like an actual binary tree?

2128

what Is DCS ? what i will get benefit when i did?

2376

What is the difference between $message and $$message?

2 5326

how to swap two nubers by using a function with pointers?

1 4227

Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female

Infosys, Luminous,

5 20597

Delta 5 weight scale not connect with oracle application what i can do?

2346

swapping of two numbers without using third variable using AND and OR operators

2 7499

why integer range between -327680to+32767

2 9411

How to update windows title bar dynamically?

HCL,

7 22601

Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...

TCS,

4 25245


Un-Answered Questions { Programming Languages }

What is a class oop?

1025


What are the major differences between Scala’s Auxiliary constructors and Java’s constructors?

7


How to convert a list into a string?

967


How to move uploaded files to permanent directory?

974


Differentiate between the expression “++a” and “a++”?

1269


How to send post request in codeigniter?

599


What are commonly used components of cakephp?

7


What is factor variable in r language?

95


simple program of graphics and their output display

2018


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

5340


What are class based views?

535


Why does my go process use a lot of virtual memory?

1


What is route parameters in laravel?

795


Explain function currying in scala?

1


What is instance method?

901