Videofoot.xyz
Категории
  • Авто
  • Музыка
  • Спорт
  • Технологии
  • Животные
  • Юмор
  • Фильмы
  • Игры
  • Хобби
  • Образование
  • Блоги

  • Сейчас ищут
  • Сейчас смотрят
  • ТОП запросы
Категории
  • Авто
  • Музыка
  • Спорт
  • Технологии
  • Животные
  • Юмор
  • Фильмы
  • Игры
  • Хобби
  • Образование
  • Блоги

  • Сейчас ищут
  • Сейчас смотрят
  • ТОП запросы
  1. Главная
  2. Gate CS pyqs - the other way[Hin]

Gate 2010 pyq C Programming | What is the value printed by following C program?int f(int *a, int n){

Опубликовано: 15 Июль 2026
на канале: Gate CS pyqs - the other way[Hin]
222
8

What is the value printed by the following C program?

#include stdio.h


int f(int *a, int n)
{
if (n LessThanOrEqualTo 0) return 0;
else if (*a % 2 == 0) return *a+f(a+1, n-1);
else return *a - f(a+1, n-1);
}


int main()
{
int a[] = {12, 7, 13, 4, 11, 6};
printf("%d", f(a, 6));
return 0;
}

play_arrow
48,162
707

Ну хоть кто то видит тут животное?

Ну хоть кто то видит тут животное?

play_arrow
11,252
183

Украина Сможет Наносить Ракетные Удары по Москве?

Украина Сможет Наносить Ракетные Удары по Москве?

play_arrow
6
0

179. Isinstance and Id Function in Python with Example Code || Python Built-in Functions-16

179. Isinstance and Id Function in Python with Example Code || Python Built-in Functions-16

play_arrow
403,277
10 тыс

ВСЕ ОРУЖИЕ Metro Exodus | Метро Исход

ВСЕ ОРУЖИЕ Metro Exodus | Метро Исход

play_arrow
7,540
29

Депіляція глибокого бікіні Харків депиляция глубокое бикини после бритвы

Депіляція глибокого бікіні Харків депиляция глубокое бикини после бритвы

play_arrow
22,811
1.8 тыс

КРОССОВЕР x НЕ СТЫДНО. Гик-культура в городах, польза комиксов, почему гики душные?

КРОССОВЕР x НЕ СТЫДНО. Гик-культура в городах, польза комиксов, почему гики душные?

play_arrow
67,399
91

Они (2006) трейлер

Они (2006) трейлер

play_arrow
55
1

Front Porch Devotion - Luke

Front Porch Devotion - Luke

Похожие видео
play_arrow
Gate 2016 pyq C Programming | What is output of following C program?void count(int n){static int d=1

Gate 2016 pyq C Programming | What is output of following C program?void count(int n){static int d=1

play_arrow
Gate 2008 pyq C Programming | Choose the correct option to fill ?1 and ?2 so that the program below

Gate 2008 pyq C Programming | Choose the correct option to fill ?1 and ?2 so that the program below

play_arrow
Gate 2010 pyq C Programming | What does following program print?void f(int *p, int *q){p=q; *p=2;}

Gate 2010 pyq C Programming | What does following program print?void f(int *p, int *q){p=q; *p=2;}

play_arrow
Gate 2010 pyq C Programming | What is the value printed by following C program?int f(int *a, int n){

Gate 2010 pyq C Programming | What is the value printed by following C program?int f(int *a, int n){

play_arrow
Gate 2008 pyq C Programming | C program is given below:int main (){int i, j;char a[2][3]={{'a','b'..

Gate 2008 pyq C Programming | C program is given below:int main (){int i, j;char a[2][3]={{'a','b'..

play_arrow
Gate 2008 pyq C Programming |Consider the code written in C:void f (int n){if (n=1) printf (

Gate 2008 pyq C Programming |Consider the code written in C:void f (int n){if (n=1) printf ("%d", n)

play_arrow
Gate 2014 pyq C Programming | Consider following program in C language:main(){int i; int*pi = &i;

Gate 2014 pyq C Programming | Consider following program in C language:main(){int i; int*pi = &i;

play_arrow
Gate 2011 pyq C Programming |What does the following C program print?    char c[] =

Gate 2011 pyq C Programming |What does the following C program print? char c[] = "GATE2011";

play_arrow
Gate 2016 pyq C Programming | The value printed by the following program is void f(int* p, int m){..

Gate 2016 pyq C Programming | The value printed by the following program is void f(int* p, int m){..

play_arrow
Gate 2016 pyq C Programming |  Consider the following program:int f(int *p, int n){  if ...}

Gate 2016 pyq C Programming | Consider the following program:int f(int *p, int n){ if ...}

play_arrow
Gate 2017 pyq C Programming | The output of executing the following C program is? int total(int v) {

Gate 2017 pyq C Programming | The output of executing the following C program is? int total(int v) {

play_arrow
Gate 2017 pyq C Programming | Consider the C functions foo and bar given below:int foo(int val)

Gate 2017 pyq C Programming | Consider the C functions foo and bar given below:int foo(int val)

Videofoot.xyz

На нашем сайте вы можете посмотреть видео со всех уголоков планеты на любой вкус - от музыкальных клипов до мировых новостей! Добро пожаловать на Videofoot.xyz


  • Авто
  • Музыка
  • Спорт
  • Технологии
  • Животные
  • Юмор
  • Фильмы
  • Игры
  • Хобби
  • Образование
  • Сейчас ищут
  • Сейчас смотрят
  • ТОП запросы
  • О нас
  • Карта сайта

[email protected]