Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
c programming
Anuranjan Chauhan
asked
in
Programming in C
Aug 19, 2017
edited
Aug 19, 2017
by
pawan kumarln
484
views
0
votes
0
votes
Anuranjan Chauhan
asked
in
Programming in C
Aug 19, 2017
edited
Aug 19, 2017
by
pawan kumarln
by
Anuranjan Chauhan
484
views
answer
comment
Follow
share this
share
4 Comments
by
Aghori
commented
Aug 19, 2017
reply
Follow
share this
kya bhai seedha toh kar diya karo
2
2
by
Shubhanshu
commented
Aug 19, 2017
reply
Follow
share this
answer is 18.
1
1
by
Anuranjan Chauhan
commented
Aug 19, 2017
reply
Follow
share this
yes..how? method? if possible show me how to do it by stack.
0
0
by
Aghori
commented
Aug 19, 2017
reply
Follow
share this
starts from $f(1),f(2),...$ ,i.e bottom up approach.
1
1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
1
vote
18 will be answer...
akash.dinkar12
answered
Aug 19, 2017
by
akash.dinkar12
comment
Follow
share this
1 comment
by
Anuranjan Chauhan
commented
Aug 20, 2017
reply
Follow
share this
thank you
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
SSR17
asked
in
Programming in C
Feb 29
218
views
c programming
#include <stdio.h> int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; } output is 255 , but please explain how
SSR17
asked
in
Programming in C
Feb 29
by
SSR17
218
views
programming-in-c
2
votes
2
votes
1
answer
2
rupamsardar
asked
in
Programming in C
Aug 30, 2023
477
views
programming in c
#include <stdio.h> int f(int x) { if(x%2==0) { return f(f(x-1)); } else return (x++); } int main() { printf("%d",f(12)); return 0; } how is this code working as it is a repetition after f(f(11))???
rupamsardar
asked
in
Programming in C
Aug 30, 2023
by
rupamsardar
477
views
programming-in-c
5
votes
5
votes
2
answers
3
saurabh0709
asked
in
Programming in C
Aug 1, 2023
1,147
views
Gate@Zeal Workbook - C programming
What will be the output of the following code? _______ #include <stdio.h> int main(){ char val=250; int ans; ans= val+ !val + ~val + ++val; printf("%d", ans); return 0; }
saurabh0709
asked
in
Programming in C
Aug 1, 2023
by
saurabh0709
1.1k
views
zeal
programming-in-c
operator-precedence
2
votes
2
votes
1
answer
4
Sparsh-NJ
asked
in
Programming in C
Jul 29, 2023
1,165
views
Arrays || C Programming
# include <stdio.h> void print(int arr[]) { int n = sizeof(arr)/sizeof(arr[0]); int i; for (i = 0; i < n; i++) printf("%d ", arr[i]); } int main() { int arr[] = {1, 2, 3, 4, 5, 6, 7, 8}; print(arr); return 0; } On GFG output is 1 2 I can’t understand the solution. Help would be appreciated!!
Sparsh-NJ
asked
in
Programming in C
Jul 29, 2023
by
Sparsh-NJ
1.2k
views
array
programming-in-c
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Programming
(4.1k)
Programming in C
(4.1k)
Programming in Python
(5)
DS
(2.0k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy