Explain how can I right-justify a string?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).

5 Answers   Microsoft, Motorola,


if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')

23 Answers  


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

0 Answers  


why java is called as a purely oops language.

3 Answers   TVS,


can we declare a variable in different scopes with different data types? answer in detail

3 Answers   TCS,






Write a program to compare two strings without using the strcmp() function

42 Answers   Accenture, Arba Minch University,


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

0 Answers  


How to delete a node from linked list w/o using collectons?

0 Answers   Zycus Infotech,


write a program to delete an item from a particular location of an linear array?

1 Answers  


Why does this code crash?

0 Answers  


How can I find out how much free space is available on disk?

0 Answers  


Can the size of an array be declared at runtime?

0 Answers  


Categories