How do you print only part of a string?


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

Post New Answer

More C Interview Questions

Q. where is the below variables stored ? - volatile, static, register

3 Answers   Bosch,


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  


what are the advantage and disadvantage of recursion

5 Answers  


How do you define CONSTANT in C?

0 Answers   ADP,


Why does everyone say not to use gets?

0 Answers  






what is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason

3 Answers  


Why we not create function inside function.

0 Answers  


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 Answers  


3.write a simple program that will output your name,phone number,e-mail address,and academic major on separate lines 1.create an account and a personal directory for your work b.find out how to create a subdirectory on your system.create one called info c.you will use a text editor to type in your programs and data files.some C systems have a built in text editor;others do not.Find out what text editor you will be using and how to access it.create a text file(not a program) containing your name ,address,and telephone number on separate lines.Next,write the brand of computer you are using and the name of the text editor.Then write a paragraph that describes your past experience with computers.save this file in your info directory. d. find out how to print a file on your system .print out and turn in the file you created in (c).

0 Answers   TCS,


List a few unconditional control statement in c.

0 Answers  


What is a void * in c?

0 Answers  


Explain the Difference between the New and Malloc keyword.

0 Answers   InterGraph,


Categories