How can my program discover the complete pathname to the executable from which it was invoked?
No Answer is Posted For this Question
Be the First to Post Answer
You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
Can we change the value of constant variable in c?
What is typedef?
Explain what is the purpose of "extern" keyword in a function declaration?
Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.
1 Answers College School Exams Tests, Wipro,
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
What are comments and how do you insert it in a C program?
How variables are declared in c?
Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a