C Answers

Questions answered by Experts: 1 680

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

input is n positive numbers and reverse it, out put gv the absolute difference and give the reverse(magic number),using function reverseinteger, and function generate magicnumber
input is n positive numbers and reverse it, out put gv the absolute difference and give the reverse(magic number) give a code for this
write a c program to reverse a character array using pointers
write a program to accept a string and find out if it is a palindrome
write a c program to accept 5 names and a prefix.Insert the prefix at the beginning of each name in the array.Display the modified names.
Write a program that asks for your first name and last name, and then prints the names in the format last name, first name
C not C++ Number patter pyramid dont include the parenthesis.Example enter a number n=4 the output is
***1
**21
*321
4321
Write a function boolean isValidPassword (String password)
A Password is valid if it satisfies following conditions:
1. Length of the password must be more than 10(without counting spaces).
2. Password must contain at least one capital and one small alphabet
3. Password must contain at least 2 digits and if it does not have 2 digits then see next condition.
4. Password must contain at least one special character from the given set-
{$, @, _, -, ., /}
#include<stdio.h>
int main()
{
int i=1,j=1;
for(;;)
{
if(i>5)
break;
else
j+=i;
printf("\n %d",j);
i+=j;
}
what is the output of this program sir? they have given the value of i as 5. please explain
#include<stdio.h>
main()
{
int x=4,y=0,z;
while(x>=0)
{
x--;
y++;
if(x==y)
continue;
else
printf("\n %d %d",x,y);
}

What is the output of this program? Please explain the logic for the output.
LATEST TUTORIALS
APPROVED BY CLIENTS