Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented
Input: 11:30 Output: 13:10
Input: 18:25 Output: 21:58
No Answer is Posted For this Question
Be the First to Post Answer
What are the 4 types of unions?
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
swap 2 numbers without using third variable?
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
What is the maximum length of an identifier?
What is the difference b/w Structure & Array?
hi how to convert program from notepad to turboc editor can u please help me
What is switch in c?
Who had beaten up hooligan "CHAKULI" in his early college days?
Explain how are 16- and 32-bit numbers stored?
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }