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 a c++ program to find maximum of two numbers using inline functions.

IBM,

3 40303

Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

Qualcomm,

6 11112

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

TCS,

1 2229

different between overloading and overriding

3 6564

What is the different between cookies and session in php?

13 26796

What is memmove?

Oracle,

1 6958

to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123

2 5682

what are the differents between 'action' and 'target' in form tag?

3 16621

What is a class?

3 5844

What is an object?

5 7315

When is an interface "good"?

1 3834

What is encapsulation?

2 5788

How does C++ help with the tradeoff of safety vs. usability?

1 4674

How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?

1 3999

What’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?

2 22380


Un-Answered Questions { Programming Languages }

please any one pass file aid,xpeditor and endeavor tools

2408


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2383


Tell us have you used lumen before?

802


Did you contributed the drupal site (any module)?

144


How to Retrieving the program that is associated with a given extension?

1697


list some of the data science libraries in python

935


swap 2 numbers without using third variable?

1194


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2267


How to add / link an images/css/javascript from a view in ci?

705


How do you realize Ternary Conditional Operator in Kotlin ?

285


How do you convert strings to numbers in C?

1334


How to Determine the last access time of a given file ?

1827


Explain the difference between null pointer and void pointer.

1152


What is the drupal current version?

197


to take three string inputs in a two dimensional array of 3 rows and 15 columns and write a function that prints them.

2726