![]() Related Questions I want to convert a string (ex: 567.2.2.2) into integer or array of integer and i have to check 567 is greater then or less than 256 or not and i have to dispaly. this string is in a file Q1. write a program to find a given number is armstrong number or not ?Q2write a program which accepts a filename as a command line argument and reverse the contents of the file(i.e first character becomes the last character of the file and so on ?Q3 how can i call a function given its name as a string ?Q4 How to swap low-order byte and high order byte in an integer without using temporary variable?Q5 If we develop a project in C, then how can we create an .exe file of it?Q6 how to print 1 to 100 please let me know the answers to my email address as i having the interview in TCS so please please please please let me know Read Answers (18) | Asked by : M.srilatha Q1 How to swap Low-order byte and high order byte in an integer without using temporary variable ?Q2 Q1 How to swap Low-order byte and high order byte in an integer without using temporary variable ?Q2 write a program to print numbers from 1 to 100 without using any condition checking ?Q3 If we develop a project in C,then how can we create an .exe file of it?Q4 Write a program which accepts a filename as a command like argument and reverse the contents of the file (i.e firs character becomesthe last character of the file and so on)input: the program takes the file name whose content should be Read Answers (8) | Asked by : M.srilatha Latest Answer : hi bupendra,String is immutable object which means the contents in the string object cannot be modified. Stringbuffer object contents can be modified. ... Read Answers (1) | Asked by : bhupendra I have a class defined belowclass A{ int *m_ptr; A(){}};main(){ int *loc_ptr; A a1,a2;}I have to write a copy constructor for this classPlease help in this problemThanks in Advance. View Question | Asked by : Ravikannan with the program Latest Answer : void main(){ char s[10]; int i; scanf("%s",s); for(i=0;s[i]!='';i++); printf("The length of the given string",--i); getch();}thank you!!!!!!!!!!!! ... Latest Answer : #include#includevoid main(){int i,flag=0,k,l,m,n;char str[100];clrscr();printf("enter the string n");scanf("%s",str);l=strlen(str);printf("%d",l);l=l-1;i=0;while(strcmp(str[i],str[l])==0){if(i+1==l){printf("its ... Read Answers (2) | Asked by : Dhanesh View Question | Asked by : raja How to concatenate the two string without using the predefined functions (such as strcat and strlen)? Latest Answer : void main() { char s[20]; int i,n; printf("enter a string"); scanf("%s",s); for(i=0;s[i]!='';i++) { ... What is Storage Class?
What are Storage Variables?
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||